Commit df9e1253 authored by Martin v. Löwis's avatar Martin v. Löwis

Catch IOErrors.

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