diff options
author | Steven Knight <knight@baldmt.com> | 2009-01-10 01:55:06 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-01-10 01:55:06 (GMT) |
commit | 52a178bf90ab53b58cb79fd764c72ce13b065cdc (patch) | |
tree | aeabb7cbbdec97a0207df61e4c4bdd601e91f4d7 /test/Batch | |
parent | 7ab76c68556e5f6f142515872ea6334e959b8626 (diff) | |
download | SCons-52a178bf90ab53b58cb79fd764c72ce13b065cdc.zip SCons-52a178bf90ab53b58cb79fd764c72ce13b065cdc.tar.gz SCons-52a178bf90ab53b58cb79fd764c72ce13b065cdc.tar.bz2 |
Python 1.5 fix.
Diffstat (limited to 'test/Batch')
-rw-r--r-- | test/Batch/action-changed.py | 4 |
1 files changed, 3 insertions, 1 deletions
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()) |