summaryrefslogtreecommitdiff
path: root/test/NodeOps.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-04-15 19:21:08 +0000
committerGreg Noel <GregNoel@tigris.org>2010-04-15 19:21:08 +0000
commit70143832dc9fcfa1151c0d4262ff223132afdba6 (patch)
treea3e265178b5b9c6d717d657133c3085747287751 /test/NodeOps.py
parent5e6eb51f39652becfc6d8beb5194471858e4b8ba (diff)
downloadscons-70143832dc9fcfa1151c0d4262ff223132afdba6.tar.gz
http://scons.tigris.org/issues/show_bug.cgi?id=2345
Fixes due to running the regression tests with the '-3' option to Python2.6, which causes the run-time to look for potential compatibility problems with Python 3.x. In some cases, all we can do is quiet the warning since we still support Python versions that can't use the newer idiom. In other cases, we fix the problem. This patch contains a mix of quieting and fixing, plus a little lint.
Diffstat (limited to 'test/NodeOps.py')
-rw-r--r--test/NodeOps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/NodeOps.py b/test/NodeOps.py
index e4a403f9..6de7d091 100644
--- a/test/NodeOps.py
+++ b/test/NodeOps.py
@@ -70,7 +70,7 @@ if %(_E)s:
real1 = [os.path.exists(str(N)) for N in Nodes]
exists = [N.exists() for N in Nodes]
real2 = [os.path.exists(str(N)) for N in Nodes]
- for N,D,R,E,F in map(None, Nodes, derived, real1, exists, real2):
+ for N,D,R,E,F in zip(Nodes, derived, real1, exists, real2):
print '%%s: %%s %%s %%s %%s'%%(N,D,R,E,F)
foo.SharedLibrary(target = 'foo', source = 'foo%(_obj)s')
bar.SharedLibrary(target = 'bar', source = 'bar%(_obj)s')