commit:     edd7a7e2fd16cb1d8ba6fbd05c5dee21966a920f
Author:     Tom Daff <tdd20 <AT> cam <DOT> ac <DOT> uk>
AuthorDate: Mon Oct  5 15:31:10 2015 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 23:18:49 2015 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=edd7a7e2

repoman: fix del of out of scope name in hg_scan

 pym/repoman/scan.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pym/repoman/scan.py b/pym/repoman/scan.py
index 28dfa15..0b74efd 100644
--- a/pym/repoman/scan.py
+++ b/pym/repoman/scan.py
@@ -168,4 +168,5 @@ class Changes(object):
                        with repoman_popen("hg status --no-status --removed .") 
as f:
                                removed = f.readlines()
                        self.removed = ["./" + elem.rstrip() for elem in 
removed]
-               del changed, new, removed
+                       del removed
+               del changed, new

Reply via email to