From 499d9a4b836bf9f802ef0daea2dc85941133cdcf Mon Sep 17 00:00:00 2001 From: stevenknight Date: Tue, 24 Nov 2009 01:58:03 +0000 Subject: [PATCH] Fix incorrectly inverted condition in test for non-TimeSCons entries. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4474 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- QMTest/TestSCons.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index cf8e3576..ab014a9f 100644 --- a/QMTest/TestSCons.py +++ b/QMTest/TestSCons.py @@ -1073,9 +1073,9 @@ class TimeSCons(TestSCons): # TODO(1.5) #dirs = [ d for d in dirs if not d.startswith('TimeSCons-') ] #files = [ f for f in files if not f.startswith('TimeSCons-') ] - timescons_entries = lambda s: s.startswith('TimeSCons-') - dirs = filter(timescons_entries, dirs) - files = filter(timescons_entries, files) + not_timescons_entries = lambda s: not s.startswith('TimeSCons-') + dirs = filter(not_timescons_entries, dirs) + files = filter(not_timescons_entries, files) for dirname in dirs: source = os.path.join(root, dirname) destination = source.replace(source_dir, dest_dir) -- 2.26.2