smooth updates: pass a list of MigrationItems to remove, not strings

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
debian
Adam D. Barratt 13 years ago
parent 0fa6e4c3fb
commit d62f8f6bcc

@ -2652,7 +2652,7 @@ class Britney:
if len(removals) > 0: if len(removals) > 0:
self.output_write("Removing packages left in testing for smooth updates (%d):\n%s" % \ self.output_write("Removing packages left in testing for smooth updates (%d):\n%s" % \
(len(removals), self.old_libraries_format(removals))) (len(removals), self.old_libraries_format(removals)))
self.do_all(actions=removals) self.do_all(actions=[ MigrationItem(x) for x in removals ])
removals = self.old_libraries() removals = self.old_libraries()
else: else:
removals = () removals = ()

Loading…
Cancel
Save