mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-28 19:01:35 +00:00
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>
This commit is contained in:
parent
c0409c1b04
commit
271fb11b33
@ -2613,7 +2613,7 @@ class Britney(object):
|
|||||||
|
|
||||||
groups = set()
|
groups = set()
|
||||||
for y in sorted((y for y in self.upgrade_me if y.uvname in excuses), key=attrgetter('uvname')):
|
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
|
# Already removed
|
||||||
continue
|
continue
|
||||||
if not y.is_removal:
|
if not y.is_removal:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user