diff --git a/britney.py b/britney.py index c0c4cfd..8b9eaa4 100755 --- a/britney.py +++ b/britney.py @@ -2624,16 +2624,17 @@ class Britney(object): self.do_all(actions=removals) # smooth updates + removals = old_libraries(self.sources, self.binaries, self.options.fucked_arches) if self.options.smooth_updates: self.log("> Removing old packages left in testing from smooth updates", type="I") - removals = old_libraries(self.sources, self.binaries, self.options.fucked_arches) if removals: self.output_write("Removing packages left in testing for smooth updates (%d):\n%s" % \ (len(removals), old_libraries_format(removals))) self.do_all(actions=removals) removals = old_libraries(self.sources, self.binaries, self.options.fucked_arches) else: - removals = () + self.log("> Not removing old packages left in testing from smooth updates (smooth-updates disabled)", + type="I") self.output_write("List of old libraries in testing (%d):\n%s" % \ (len(removals), old_libraries_format(removals)))