mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
this little exception dance is pointless
This commit is contained in:
parent
d72ca858a6
commit
ca02f3a4d6
1 changed files with 0 additions and 2 deletions
|
@ -70,8 +70,6 @@ def compile_dir(dir, maxlevels=10, ddir=None,
|
||||||
print 'Compiling', fullname, '...'
|
print 'Compiling', fullname, '...'
|
||||||
try:
|
try:
|
||||||
ok = py_compile.compile(fullname, None, dfile, True)
|
ok = py_compile.compile(fullname, None, dfile, True)
|
||||||
except KeyboardInterrupt:
|
|
||||||
raise KeyboardInterrupt
|
|
||||||
except py_compile.PyCompileError,err:
|
except py_compile.PyCompileError,err:
|
||||||
if quiet:
|
if quiet:
|
||||||
print 'Compiling', fullname, '...'
|
print 'Compiling', fullname, '...'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue