From: Martin v. Löwis Date: Sun, 20 Jun 2004 20:59:56 +0000 (+0000) Subject: Patch #975885: print file name in err msg in quiet mode X-Git-Tag: v2.4a1~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=873a277eb45439696b4862735dce28ffd29fab22;p=thirdparty%2FPython%2Fcpython.git Patch #975885: print file name in err msg in quiet mode --- diff --git a/Lib/compileall.py b/Lib/compileall.py index f906c80eefe1..a1f252eb46ce 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: