Commit 315ac224 by Matt Martz

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

parent 66802169
...@@ -198,7 +198,7 @@ def main(): ...@@ -198,7 +198,7 @@ def main():
break break
except OSError, e: except OSError, e:
# File not present # File not present
if os.errno == 2: if e.errno == 2:
time.sleep(1) time.sleep(1)
else: else:
elapsed = datetime.datetime.now() - start elapsed = datetime.datetime.now() - start
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment