summaryrefslogtreecommitdiff
path: root/Lib/compileall.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-06-20 20:59:56 +0000
committerMartin v. Löwis <martin@v.loewis.de>2004-06-20 20:59:56 +0000
commit873a277eb45439696b4862735dce28ffd29fab22 (patch)
tree5a71954bdf1fd5de4e7949aa94ed278e78fb57e0 /Lib/compileall.py
parent28224f897a1849dd616ad82538bdda45f3351d42 (diff)
downloadcpython-git-873a277eb45439696b4862735dce28ffd29fab22.tar.gz
Patch #975885: print file name in err msg in quiet mode
Diffstat (limited to 'Lib/compileall.py')
-rw-r--r--Lib/compileall.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/compileall.py b/Lib/compileall.py
index f906c80eef..a1f252eb46 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: