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>
debian
Niels Thykier 11 years ago
parent 2079b1fb5e
commit afa9a543b1

@ -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