From: stevenknight Date: Sat, 10 Jan 2009 01:55:06 +0000 (+0000) Subject: Python 1.5 fix. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=93df2bb88033bc4db4a8b33cdb5ba2aaa4c176e8;p=scons.git Python 1.5 fix. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3884 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- 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())