projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b7556
)
Catch IOErrors.
author
Martin v. Löwis
<martin@v.loewis.de>
Thu, 16 Jan 2003 11:02:43 +0000
(11:02 +0000)
committer
Martin v. Löwis
<martin@v.loewis.de>
Thu, 16 Jan 2003 11:02:43 +0000
(11:02 +0000)
Lib/compileall.py
patch
|
blob
|
history
diff --git
a/Lib/compileall.py
b/Lib/compileall.py
index 0f4010f24eb52fcfbaff9cd929bb29900e9a7394..ebe04ff460274b2f18c5baf0140e324b357bef32 100644
(file)
--- a/
Lib/compileall.py
+++ b/
Lib/compileall.py
@@
-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