From e145d2816cc175fce2f022495cc5f4d6ef174e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 20 Jun 2004 21:03:36 +0000 Subject: Patch #975885: print file name in err msg in quiet mode. --- Lib/compileall.py | 2 ++ Misc/NEWS | 2 ++ 2 files changed, 4 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: diff --git a/Misc/NEWS b/Misc/NEWS index 14ba6ab..4b81b23 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. -- cgit v0.12