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

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

üst 28224f89
...@@ -66,6 +66,8 @@ def compile_dir(dir, maxlevels=10, ddir=None, ...@@ -66,6 +66,8 @@ def compile_dir(dir, maxlevels=10, ddir=None,
except KeyboardInterrupt: except KeyboardInterrupt:
raise KeyboardInterrupt raise KeyboardInterrupt
except py_compile.PyCompileError,err: except py_compile.PyCompileError,err:
if quiet:
print 'Compiling', fullname, '...'
print err.msg print err.msg
success = 0 success = 0
except IOError, e: except IOError, e:
......
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