mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 15:37:02 +00:00
smooth updates: pass a list of MigrationItems to remove, not strings
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
parent
2e51db80c9
commit
513a6ff453
@ -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…
x
Reference in New Issue
Block a user