Skip to content

Commit 873a277

Browse files
committed
Patch #975885: print file name in err msg in quiet mode
1 parent 28224f8 commit 873a277

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/compileall.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ def compile_dir(dir, maxlevels=10, ddir=None,
6666
except KeyboardInterrupt:
6767
raise KeyboardInterrupt
6868
except py_compile.PyCompileError,err:
69+
if quiet:
70+
print 'Compiling', fullname, '...'
6971
print err.msg
7072
success = 0
7173
except IOError, e:

0 commit comments

Comments
 (0)