From 8d9eeabf80ccfaa3076584872d16747fd9160ec4 Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Sun, 9 Sep 2007 00:36:21 +0000 Subject: [PATCH] or I was right the first time :( svn path=/main/trunk/; revision=7766 --- pym/portage/env/loaders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/env/loaders.py b/pym/portage/env/loaders.py index 0f376a33c..1d0ca01aa 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('.') or not f.endswith('~')] + files = [f for f in files if not f.startswith('.') and not f.endswith('~')] for f in files: yield os.path.join(root, f) else: -- 2.26.2