Patch #975885: print file name in err msg in quiet mode
This commit is contained in:
parent
28224f897a
commit
873a277eb4
|
@ -66,6 +66,8 @@ def compile_dir(dir, maxlevels=10, ddir=None,
|
|||
except KeyboardInterrupt:
|
||||
raise KeyboardInterrupt
|
||||
except py_compile.PyCompileError,err:
|
||||
if quiet:
|
||||
print 'Compiling', fullname, '...'
|
||||
print err.msg
|
||||
success = 0
|
||||
except IOError, e:
|
||||
|
|
Loading…
Reference in New Issue