Fix up broken logic so that binary removals work again

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
Adam D. Barratt 2011-10-22 19:28:09 +00:00
parent d62f8f6bcc
commit 0e50a0ef44

View File

@ -2059,7 +2059,7 @@ class Britney:
sources = self.sources
binaries = self.binaries['testing']
# remove all binary packages (if the source already exists)
if item.architecture == 'source' or item.is_removal:
if item.architecture == 'source' or not item.is_removal:
if item.package in sources['testing']:
source = sources['testing'][item.package]
# remove all the binaries