diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-06-20 20:59:56 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-06-20 20:59:56 (GMT) |
commit | 873a277eb45439696b4862735dce28ffd29fab22 (patch) | |
tree | 5a71954bdf1fd5de4e7949aa94ed278e78fb57e0 /Lib/compileall.py | |
parent | 28224f897a1849dd616ad82538bdda45f3351d42 (diff) | |
download | cpython-873a277eb45439696b4862735dce28ffd29fab22.zip cpython-873a277eb45439696b4862735dce28ffd29fab22.tar.gz cpython-873a277eb45439696b4862735dce28ffd29fab22.tar.bz2 |
Patch #975885: print file name in err msg in quiet mode
Diffstat (limited to 'Lib/compileall.py')
-rw-r--r-- | Lib/compileall.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/compileall.py b/Lib/compileall.py index f906c80..a1f252e 100644 --- a/Lib/compileall.py +++ b/Lib/compileall.py @@ -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: |