From: Martin v. Löwis Date: Sun, 20 Jun 2004 21:03:36 +0000 (+0000) Subject: Patch #975885: print file name in err msg in quiet mode. X-Git-Tag: v2.3.5c1~200 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e145d2816cc175fce2f022495cc5f4d6ef174e0c;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: diff --git a/Misc/NEWS b/Misc/NEWS index 14ba6aba0fdc..4b81b23df11a 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -37,6 +37,8 @@ Extension modules Library ------- +- Patch #975885: Print file name in err msg in quiet mode of compileall.py. + - Bug #919012: shutil.move() raises an exception when you try to move a directory into itself.