From 89b3d4bdb0293f4a16554970961756ec2f62f3f6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 22 Feb 2007 20:54:17 +0000 Subject: Fix "NameError: global name 'myfilelist' is not defined" when collision-protect is enabled. svn path=/main/trunk/; revision=6038 --- pym/portage/dbapi/vartree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym') diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index ed08dbfd6..ec4c2db33 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -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 -- cgit v1.2.3-1-g7c22