summaryrefslogtreecommitdiff
path: root/test/KeyboardInterrupt.py
diff options
context:
space:
mode:
authorGreg Noel <GregNoel@tigris.org>2010-03-29 14:21:04 +0000
committerGreg Noel <GregNoel@tigris.org>2010-03-29 14:21:04 +0000
commit7f77661a152289c3cf739b7d03c1d0433d935cda (patch)
treede2e680e944eb3c51fe1ba93714beba4605b18f4 /test/KeyboardInterrupt.py
parent0edbe6e530347f20578046894acf55723bb9757a (diff)
downloadscons-7f77661a152289c3cf739b7d03c1d0433d935cda.tar.gz
http://scons.tigris.org/issues/show_bug.cgi?id=2345
The 'buffer' fixer simply replaces 'buffer( ... )' with 'memoryview( ... )', which is incorrect for our cases, so these changes had to be done by hand and a forward-compatibility class added. The 'xrange' fixer was applied. Manual changes were minimal: a few case in test strings and one use of 'range' as an identifer in the same scope as where 'xrange' was converted to 'range'. The "sets15" compat function, which provided backward compatibility for Python versions prior to 2.2, was removed as no longer needed.
Diffstat (limited to 'test/KeyboardInterrupt.py')
-rw-r--r--test/KeyboardInterrupt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/KeyboardInterrupt.py b/test/KeyboardInterrupt.py
index d0f12076..bcb576c8 100644
--- a/test/KeyboardInterrupt.py
+++ b/test/KeyboardInterrupt.py
@@ -76,7 +76,7 @@ else:
all = []
-for i in xrange(40):
+for i in range(40):
all.extend(Object('toto%5d' % i, 'toto.c'))
all.extend(Command( 'broken', 'toto.c', explode))