From e279eabf0a57c6bf7dc05c2adf09d0c820e7b07d Mon Sep 17 00:00:00 2001
From: Niels Thykier <niels@thykier.net>
Date: Sun, 30 Sep 2018 16:03:02 +0000
Subject: [PATCH] britney.py: Remove duplicated variable

Signed-off-by: Niels Thykier <niels@thykier.net>
---
 britney.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/britney.py b/britney.py
index acafacf..0a5171d 100755
--- a/britney.py
+++ b/britney.py
@@ -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