summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-09-09 00:33:57 +0000
committerAlec Warner <antarus@gentoo.org>2007-09-09 00:33:57 +0000
commitcb2c4c987627189ab1eba421639fce2623567aab (patch)
tree02c99f30a72d54f1318e4aca80b9d9eac6cbd575
parent2e92a1b05bd3f8edb93282a0f9bf8545420c469e (diff)
downloadportage-cb2c4c987627189ab1eba421639fce2623567aab.tar.gz
portage-cb2c4c987627189ab1eba421639fce2623567aab.tar.bz2
portage-cb2c4c987627189ab1eba421639fce2623567aab.zip
sigh, or, not and
svn path=/main/trunk/; revision=7765
-rw-r--r--pym/portage/env/loaders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/env/loaders.py b/pym/portage/env/loaders.py
index 1d0ca01aa..0f376a33c 100644
--- a/pym/portage/env/loaders.py
+++ b/pym/portage/env/loaders.py
@@ -41,7 +41,7 @@ def RecursiveFileLoader(filename):
for root, dirs, files in os.walk(filename):
if 'CVS' in dirs:
dirs.remove('CVS')
- files = [f for f in files if not f.startswith('.') and not f.endswith('~')]
+ files = [f for f in files if not f.startswith('.') or not f.endswith('~')]
for f in files:
yield os.path.join(root, f)
else: