From 56fa65f596193891ba1d468df69e14fb230e9a1d Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Tue, 22 Nov 2016 21:08:33 +0000 Subject: [PATCH] Replace a use of src[X] with src.x Signed-off-by: Niels Thykier --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index ece314e..cd6b9d3 100755 --- a/britney.py +++ b/britney.py @@ -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