From: Zac Medico Date: Sat, 1 Apr 2006 08:08:25 +0000 (-0000) Subject: Rename local 'root' variable to parent_dir so that it's not confused with portage... X-Git-Tag: v2.1_pre8~50 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4bbc681c474b4d55939126b5f704dc76a25d8c28;p=portage.git Rename local 'root' variable to parent_dir so that it's not confused with portage.root svn path=/main/trunk/; revision=3047 --- 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