mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-24 03:41:12 +00:00
Replace a use of src[X] with src.x
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
166a6533ba
commit
56fa65f596
@ -759,7 +759,7 @@ class Britney(object):
|
||||
if apt_pkg.version_compare(old_pkg_data.version, version) > 0:
|
||||
continue
|
||||
old_pkg_id = old_pkg_data.pkg_id
|
||||
old_src_binaries = srcdist[old_pkg_data[SOURCE]].binaries
|
||||
old_src_binaries = srcdist[old_pkg_data.source].binaries
|
||||
old_src_binaries.remove(old_pkg_id)
|
||||
# This may seem weird at first glance, but the current code rely
|
||||
# on this behaviour to avoid issues like #709460. Admittedly it
|
||||
|
Loading…
x
Reference in New Issue
Block a user