From 93df2bb88033bc4db4a8b33cdb5ba2aaa4c176e8 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sat, 10 Jan 2009 01:55:06 +0000 Subject: [PATCH] Python 1.5 fix. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3884 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/Batch/action-changed.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Batch/action-changed.py b/test/Batch/action-changed.py index cc0cd415..c789244e 100644 --- a/test/Batch/action-changed.py +++ b/test/Batch/action-changed.py @@ -43,7 +43,9 @@ import sys sep = sys.argv.index('--') targets = sys.argv[1:sep] sources = sys.argv[sep+1:] -for t, s in zip(targets, sources): +for i in xrange(len(targets)): + t = targets[i] + s = sources[i] fp = open(t, 'wb') fp.write('%s\\n') fp.write(open(s, 'rb').read()) -- 2.26.2