From 52a178bf90ab53b58cb79fd764c72ce13b065cdc Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Sat, 10 Jan 2009 01:55:06 +0000 Subject: Python 1.5 fix. --- 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 cc0cd41..c789244 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()) -- cgit v0.12