From: Marius Mauch Date: Sun, 12 Feb 2006 22:56:51 +0000 (-0000) Subject: fix dirsonly handling in listdir X-Git-Tag: v2.1_pre5_2760~51 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c0d04cb8dd9020c1c0414a700f31ffe8279aef6c;p=portage.git fix dirsonly handling in listdir svn path=/main/trunk/; revision=2700 --- 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: