Need to check e.errno instead of os.errno. Fixes #8548

release1.7.1
Matt Martz 10 years ago committed by James Cammarata
parent df136769eb
commit 165572fbb8

@ -198,7 +198,7 @@ def main():
break
except OSError, e:
# File not present
if os.errno == 2:
if e.errno == 2:
time.sleep(1)
else:
elapsed = datetime.datetime.now() - start

Loading…
Cancel
Save