mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-10 05:57:28 +00:00
britney.py: Fix use of undefined variable
A currently dead branch in _compute_group uses an undefined local variable. Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
28389f730e
commit
9b24a1d4e7
@ -1871,8 +1871,8 @@ class Britney(object):
|
||||
|
||||
# single binary removal; used for clearing up after smooth
|
||||
# updates but not supported as a manual hint
|
||||
elif source_name in binaries_t[item.architecture][0]:
|
||||
version = binaries_t[item.architecture][0][source_name][VERSION]
|
||||
elif source_name in binaries_t[migration_architecture][0]:
|
||||
version = binaries_t[migration_architecture][0][source_name][VERSION]
|
||||
rms.add((source_name, version, migration_architecture))
|
||||
|
||||
# add the new binary packages (if we are not removing)
|
||||
|
Loading…
x
Reference in New Issue
Block a user