summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-01-16 12:30:58 -0800
committerZac Medico <zmedico@gentoo.org>2011-01-16 12:30:58 -0800
commitc02da17270e8541455f075615f0426b8b9c6d527 (patch)
tree427a04c5236a05e324f40946c992e0d54c544869
parent956a2a70446e7618ef29593ed710648ca2b1e19f (diff)
downloadportage-c02da17270e8541455f075615f0426b8b9c6d527.tar.gz
portage-c02da17270e8541455f075615f0426b8b9c6d527.tar.bz2
portage-c02da17270e8541455f075615f0426b8b9c6d527.zip
Remove redundant portage.listdir(ignorecvs) code.
The ignorecvs filtering is handled by cacheddir since commit 956a2a70446e7618ef29593ed710648ca2b1e19f.
-rw-r--r--pym/portage/util/listdir.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage/util/listdir.py b/pym/portage/util/listdir.py
index 64d1a88b5..d2dc1750d 100644
--- a/pym/portage/util/listdir.py
+++ b/pym/portage/util/listdir.py
@@ -125,8 +125,7 @@ def listdir(mypath, recursive=False, filesonly=False, ignorecvs=False, ignorelis
if recursive:
x=0
while x<len(ftype):
- if ftype[x] == 1 and not \
- (ignorecvs and os.path.basename(list[x]) in _ignorecvs_dirs):
+ if ftype[x] == 1:
l,f = cacheddir(mypath+"/"+list[x], ignorecvs, ignorelist, EmptyOnError,
followSymlinks)