]> granicus.if.org Git - python/commitdiff
this little exception dance is pointless
authorBenjamin Peterson <benjamin@python.org>
Mon, 15 Mar 2010 02:58:24 +0000 (02:58 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 15 Mar 2010 02:58:24 +0000 (02:58 +0000)
Lib/compileall.py

index 49537fded0b9aa13fd4c6fc2fdd779542edd1717..1a0b7cc2ad29230db8badc2e261210cac9823f2b 100644 (file)
@@ -70,8 +70,6 @@ def compile_dir(dir, maxlevels=10, ddir=None,
                     print 'Compiling', fullname, '...'
                 try:
                     ok = py_compile.compile(fullname, None, dfile, True)
-                except KeyboardInterrupt:
-                    raise KeyboardInterrupt
                 except py_compile.PyCompileError,err:
                     if quiet:
                         print 'Compiling', fullname, '...'