]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Patch #975885: print file name in err msg in quiet mode.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 20 Jun 2004 21:03:36 +0000 (21:03 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 20 Jun 2004 21:03:36 +0000 (21:03 +0000)
Lib/compileall.py
Misc/NEWS

index f906c80eefe160f9e4b81732a1c47faa991b31b8..a1f252eb46ce26a6354c2aa50cdb23424ff88a41 100644 (file)
@@ -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:
index 14ba6aba0fdc92c7f1113669aa37bf38faff4a9f..4b81b23df11a849da9799d9cc855e59133143155 100644 (file)
--- 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.