some minor range to xrange conversion (where safe to do)

This commit is contained in:
Miroslav Stampar
2011-10-21 22:34:27 +00:00
parent eb240243ea
commit 25f0ec3597
24 changed files with 29 additions and 29 deletions

View File

@@ -74,7 +74,7 @@ class Fingerprint(GenericFingerprint):
if index >= 0:
prevVer = None
for version in range(versions[index][0], versions[index][1] + 1):
for version in xrange(versions[index][0], versions[index][1] + 1):
randInt = randomInt()
version = getUnicode(version)
result = inject.checkBooleanExpression("%d=%d/*!%s AND %d=%d*/" % (randInt, randInt, version, randInt, randInt + 1))