britney.py: Remove duplicated variable

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 6 years ago
parent f561de89d0
commit e279eabf0a
No known key found for this signature in database
GPG Key ID: A65B78DBE67C7AAC

@ -1984,13 +1984,12 @@ class Britney(object):
# remove all the binaries which aren't being smooth updated
for rm_pkg_id in rms:
binary, version, parch = rm_pkg_id
p = (binary, parch)
binaries_t_a, provides_t_a = packages_t[parch]
pkey = (binary, parch)
binaries_t_a, provides_t_a = packages_t[parch]
pkg_data = binaries_t_a[binary]
# save the old binary for undo
undo['binaries'][p] = rm_pkg_id
undo['binaries'][pkey] = rm_pkg_id
if pkey not in eqv_set:
# all the reverse dependencies are affected by
# the change

Loading…
Cancel
Save