From 873a277eb45439696b4862735dce28ffd29fab22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 20 Jun 2004 20:59:56 +0000 Subject: Patch #975885: print file name in err msg in quiet mode --- Lib/compileall.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit v0.12