projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9792993
)
fix errors in call logic
author
Marius Mauch
<genone@gentoo.org>
Fri, 7 Sep 2007 11:41:25 +0000
(11:41 -0000)
committer
Marius Mauch
<genone@gentoo.org>
Fri, 7 Sep 2007 11:41:25 +0000
(11:41 -0000)
svn path=/main/trunk/; revision=7754
pym/portage/env/loaders.py
patch
|
blob
|
history
diff --git
a/pym/portage/env/loaders.py
b/pym/portage/env/loaders.py
index e7f5289a7054f95a78066d148607de280fbc086f..e55e2793e9a919d0ed952d47eec92ffde5ca4a62 100644
(file)
--- a/
pym/portage/env/loaders.py
+++ b/
pym/portage/env/loaders.py
@@
-41,8
+41,8
@@
def RecursiveFileLoader(filename):
for root, dirs, files in os.walk(filename):
if 'CVS' in dirs:
dirs.remove('CVS')
- files =
filter(files, str.startswith('.'))
- files =
filter(files, str.endswith('~'))
+ files =
[f for f in files if not f.startswith('.')]
+ files =
[f for f in files if not f.endswith('~')]
for f in files:
yield f
else: