From c0d04cb8dd9020c1c0414a700f31ffe8279aef6c Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Sun, 12 Feb 2006 22:56:51 +0000 Subject: fix dirsonly handling in listdir svn path=/main/trunk/; revision=2700 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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: -- cgit v1.2.3-1-g7c22