summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-01 08:08:25 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-01 08:08:25 +0000
commit4bbc681c474b4d55939126b5f704dc76a25d8c28 (patch)
treecc84516702e271d0988667a7e09e150ecf47bfda /pym
parentef6682d7b2445226f43c857690a740c2c2a6916c (diff)
downloadportage-4bbc681c474b4d55939126b5f704dc76a25d8c28.tar.gz
portage-4bbc681c474b4d55939126b5f704dc76a25d8c28.tar.bz2
portage-4bbc681c474b4d55939126b5f704dc76a25d8c28.zip
Rename local 'root' variable to parent_dir so that it's not confused with portage.root
svn path=/main/trunk/; revision=3047
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 76ab58ac6..0c808df06 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -650,7 +650,7 @@ def env_update(makelinks=1, srcroot=None):
if not os.path.exists(src_dir):
ld_cache_update = True
continue
- for root, dirs, files in os.walk(src_dir):
+ for parent_dir, dirs, files in os.walk(src_dir):
if len(files) > 0:
ld_cache_update = True
break