Fix "NameError: global name 'myfilelist' is not defined" when collision-protect is...
authorZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 20:54:17 +0000 (20:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 22 Feb 2007 20:54:17 +0000 (20:54 -0000)
svn path=/main/trunk/; revision=6038

pym/portage/dbapi/vartree.py

index ed08dbfd6e851689503b929049c745a1c406caa6..ec4c2db33f5b68773e9e1ec289044b5c55f3aab8 100644 (file)
@@ -1286,8 +1286,8 @@ class dblink(object):
 
                        collisions = []
 
-                       print green("*")+" checking "+str(len(myfilelist))+" files for package collisions"
-                       for f in myfilelist:
+                       print green("*")+" checking "+str(len(mycontents))+" files for package collisions"
+                       for f in mycontents:
                                nocheck = False
                                # listdir isn't intelligent enough to exclude symlinked dirs,
                                # so we have to do it ourself