britney.py: Fix bug with hinting removals

Fix a bug in the auto hinter that could make think that sources had
already been removed.

Signed-off-by: Niels Thykier <niels@thykier.net>
bzr-import-20160707
Niels Thykier 11 years ago
parent c0409c1b04
commit 271fb11b33

@ -2613,7 +2613,7 @@ class Britney(object):
groups = set()
for y in sorted((y for y in self.upgrade_me if y.uvname in excuses), key=attrgetter('uvname')):
if y.is_removal and y.uvname not in sources_t:
if y.is_removal and y.package not in sources_t:
# Already removed
continue
if not y.is_removal:

Loading…
Cancel
Save