]> granicus.if.org Git - python/commitdiff
Patch #975885: print file name in err msg in quiet mode
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 20 Jun 2004 20:59:56 +0000 (20:59 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 20 Jun 2004 20:59:56 +0000 (20:59 +0000)
Lib/compileall.py

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: