Fix up broken logic so that binary removals work again

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

@ -2059,7 +2059,7 @@ class Britney:
sources = self.sources sources = self.sources
binaries = self.binaries['testing'] binaries = self.binaries['testing']
# remove all binary packages (if the source already exists) # 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']: if item.package in sources['testing']:
source = sources['testing'][item.package] source = sources['testing'][item.package]
# remove all the binaries # remove all the binaries

Loading…
Cancel
Save