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

@@ -422,7 +422,7 @@ def comp(N, url):
def fetch(N, url, delay=0):
lens = []
starttime = time.time()
for i in range(N):
for i in xrange(N):
if delay and i > 0: time.sleep(delay)
fo = urllib2.urlopen(url)
foo = fo.read()