summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2006-02-12 22:56:51 +0000
committerMarius Mauch <genone@gentoo.org>2006-02-12 22:56:51 +0000
commitc0d04cb8dd9020c1c0414a700f31ffe8279aef6c (patch)
tree9117ddd54678b18e06604f3c07e75722d255130e /pym
parent0c2f641f7f9e67b9a86e5e8688bb0fb7aa3beda3 (diff)
downloadportage-c0d04cb8dd9020c1c0414a700f31ffe8279aef6c.tar.gz
portage-c0d04cb8dd9020c1c0414a700f31ffe8279aef6c.tar.bz2
portage-c0d04cb8dd9020c1c0414a700f31ffe8279aef6c.zip
fix dirsonly handling in listdir
svn path=/main/trunk/; revision=2700
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 2b9868aca..aa0d3d5c2 100644
--- 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: