projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
956a2a7
)
Remove redundant portage.listdir(ignorecvs) code.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 16 Jan 2011 20:30:58 +0000
(12:30 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 16 Jan 2011 20:30:58 +0000
(12:30 -0800)
The ignorecvs filtering is handled by cacheddir since commit
956a2a70446e7618ef29593ed710648ca2b1e19f
.
pym/portage/util/listdir.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/listdir.py
b/pym/portage/util/listdir.py
index 64d1a88b510b0b552830ab16bcd67c53279534d5..d2dc1750d264057aa6e6f03df3202f2c73591743 100644
(file)
--- 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)