projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2f641
)
fix dirsonly handling in listdir
author
Marius Mauch
<genone@gentoo.org>
Sun, 12 Feb 2006 22:56:51 +0000
(22:56 -0000)
committer
Marius Mauch
<genone@gentoo.org>
Sun, 12 Feb 2006 22:56:51 +0000
(22:56 -0000)
svn path=/main/trunk/; revision=2700
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 2b9868aca0e9d3935f6b8cf11278866bf5ced839..aa0d3d5c253ad3b04fbc5500f9a1cf5b4da7a3eb 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-290,7
+290,7
@@
def listdir(mypath, recursive=False, filesonly=False, ignorecvs=False, ignorelis
if ftype is None:
ftype=[]
- if not
filesonly and not recursive
:
+ if not
(filesonly or dirsonly or recursive)
:
return list
if recursive: