diff options
author | Marius Mauch <genone@gentoo.org> | 2006-02-12 22:56:51 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2006-02-12 22:56:51 +0000 |
commit | c0d04cb8dd9020c1c0414a700f31ffe8279aef6c (patch) | |
tree | 9117ddd54678b18e06604f3c07e75722d255130e | |
parent | 0c2f641f7f9e67b9a86e5e8688bb0fb7aa3beda3 (diff) | |
download | portage-c0d04cb8dd9020c1c0414a700f31ffe8279aef6c.tar.gz portage-c0d04cb8dd9020c1c0414a700f31ffe8279aef6c.tar.bz2 portage-c0d04cb8dd9020c1c0414a700f31ffe8279aef6c.zip |
fix dirsonly handling in listdir
svn path=/main/trunk/; revision=2700
-rw-r--r-- | pym/portage.py | 2 |
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: |