summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-06 07:00:36 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-06 07:00:36 +0000
commit458837af03fe6f19e49b1e12aa6b53c82b1b288c (patch)
tree5c7faf387c9fe5022525845064e26715ad6d709b /pym
parentUse realpath to resolve __file__ when searching for test inside main(). (diff)
downloadportage-458837af03fe6f19e49b1e12aa6b53c82b1b288c.tar.gz
portage-458837af03fe6f19e49b1e12aa6b53c82b1b288c.tar.bz2
portage-458837af03fe6f19e49b1e12aa6b53c82b1b288c.zip
Fix broken os.walk call in _post_src_install_uid_fix().
svn path=/main/trunk/; revision=13929
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index a959207c4..e2f459fc4 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -5169,7 +5169,7 @@ def _post_src_install_uid_fix(mysettings):
# os.path.join when called by os.walk.
destdir = destdir.encode('utf_8', 'replace')
- for parent, dirs, files in os.walk(mysettings["D"]):
+ for parent, dirs, files in os.walk(destdir):
for fname in chain(dirs, files):
fpath = os.path.join(parent, fname)
mystat = os.lstat(fpath)