mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 15:37:02 +00:00
Fix crash from previous hint reorganization
Traceback (most recent call last): File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 3380, in <module> Britney().main() File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 3329, in main self.write_excuses() File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1992, in write_excuses upgrade_me.remove(e.name) ValueError: list.remove(x): x not in list
This commit is contained in:
parent
855387b013
commit
19883522b3
@ -1989,8 +1989,11 @@ class Britney(object):
|
||||
adtpass = False
|
||||
|
||||
if not adtpass:
|
||||
upgrade_me.remove(e.name)
|
||||
unconsidered.append(e.name)
|
||||
try:
|
||||
upgrade_me.remove(e.name)
|
||||
unconsidered.append(e.name)
|
||||
except ValueError:
|
||||
pass
|
||||
e.addhtml("Not considered")
|
||||
e.addreason("autopkgtest")
|
||||
e.is_valid = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user