diff --git a/britney.py b/britney.py index 7dd6e6e..b129d06 100755 --- a/britney.py +++ b/britney.py @@ -2483,6 +2483,7 @@ class Britney: del self.sources['testing'][k[1:]] else: self.sources['testing'][k] = undo['sources'][k] + for (undo, pkg, pkg_name, suite) in lundo: # undo the changes (new binaries) if pkg[0] != '-' and pkg_name in self.sources[suite]: for p in self.sources[suite][pkg_name][BINARIES]: @@ -2491,6 +2492,7 @@ class Britney: del self.binaries['testing'][arch][0][binary] self.systems[arch].remove_binary(binary) + for (undo, pkg, pkg_name, suite) in lundo: # undo the changes (binaries) for p in undo['binaries'].keys(): binary, arch = p.split("/") @@ -2499,6 +2501,7 @@ class Britney: self.systems[arch].remove_binary(binary[1:]) else: self.binaries['testing'][arch][0][binary] = undo['binaries'][p] + for (undo, pkg, pkg_name, suite) in lundo: # undo the changes (virtual packages) for p in undo['nvirtual']: j, arch = p.split("/")