summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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