Patch #975885: print file name in err msg in quiet mode

This commit is contained in:
Martin v. Löwis 2004-06-20 20:59:56 +00:00
parent 28224f897a
commit 873a277eb4
1 changed files with 2 additions and 0 deletions

View File

@ -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: