mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-19 21:51:30 +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
|
adtpass = False
|
||||||
|
|
||||||
if not adtpass:
|
if not adtpass:
|
||||||
|
try:
|
||||||
upgrade_me.remove(e.name)
|
upgrade_me.remove(e.name)
|
||||||
unconsidered.append(e.name)
|
unconsidered.append(e.name)
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
e.addhtml("Not considered")
|
e.addhtml("Not considered")
|
||||||
e.addreason("autopkgtest")
|
e.addreason("autopkgtest")
|
||||||
e.is_valid = False
|
e.is_valid = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user