projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
188abf0
)
Use portage.chdir() instead of os.chdir() in order to avoid an 'OSError: [Errno 2...
author
Zac Medico
<zmedico@gentoo.org>
Mon, 4 Dec 2006 10:07:35 +0000
(10:07 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 4 Dec 2006 10:07:35 +0000
(10:07 -0000)
svn path=/main/trunk/; revision=5171
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index dbfe5605bb3e57322262bef79a4344d95b573698..5b0e9fb353dd79fb73a3adc4867dd8ecef5cb3f4 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-6554,7
+6554,7
@@
class dblink:
myfilelist = listdir(srcroot, recursive=1, filesonly=1, followSymlinks=False)
# the linkcheck only works if we are in srcroot
- mycwd =
os.
getcwd()
+ mycwd = getcwd()
os.chdir(srcroot)
mysymlinks = filter(os.path.islink, listdir(srcroot, recursive=1, filesonly=0, followSymlinks=False))
myfilelist.extend(mysymlinks)