projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8015f71
)
Make portage.listdir(ignorecvs=1) omit CVS dirs.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 16 Jan 2011 14:20:23 +0000
(06:20 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 16 Jan 2011 20:38:00 +0000
(12:38 -0800)
pym/portage/util/listdir.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/listdir.py
b/pym/portage/util/listdir.py
index f73c9702556634b29a89b4b645f43efcfd90d71d..64d1a88b510b0b552830ab16bcd67c53279534d5 100644
(file)
--- a/
pym/portage/util/listdir.py
+++ b/
pym/portage/util/listdir.py
@@
-76,7
+76,8
@@
def cacheddir(my_original_path, ignorecvs, ignorelist, EmptyOnError, followSymli
if list[x] in ignorelist:
pass
elif ignorecvs:
- if list[x][:2] != ".#":
+ if list[x][:2] != ".#" and \
+ not (ftype[x] == 1 and list[x] in _ignorecvs_dirs):
ret_list.append(list[x])
ret_ftype.append(ftype[x])
else: