Kaydet (Commit) 6f2adc7c authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Catch IOErrors.

üst 71b75564
...@@ -68,6 +68,9 @@ def compile_dir(dir, maxlevels=10, ddir=None, ...@@ -68,6 +68,9 @@ def compile_dir(dir, maxlevels=10, ddir=None,
except py_compile.PyCompileError,err: except py_compile.PyCompileError,err:
print err.msg print err.msg
success = 0 success = 0
except IOError, e:
print "Sorry", e
success = 0
else: else:
if ok == 0: if ok == 0:
success = 0 success = 0
......
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