From d4daea3b2aa2ecfdc3c7a006f94cb4f172820ef3 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 24 Sep 2015 14:08:06 +0300 Subject: [PATCH] Fix unused variable --- slpkg/slack/patches.py | 1 + 1 file changed, 1 insertion(+) diff --git a/slpkg/slack/patches.py b/slpkg/slack/patches.py index f879713e..4a736e8c 100644 --- a/slpkg/slack/patches.py +++ b/slpkg/slack/patches.py @@ -178,6 +178,7 @@ class Patches(object): self.comp_sum.pop(index) self.uncomp_sum.pop(index) self.count_upg -= 1 + del comp, uncomp index -= 1 index += 1 if not self.upgrade_all: