From: Benjamin Peterson Date: Mon, 15 Mar 2010 02:58:24 +0000 (+0000) Subject: this little exception dance is pointless X-Git-Tag: v2.7b1~354 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca02f3a4d650b7fc9a26b25bdd5cf159837a8a88;p=python this little exception dance is pointless --- diff --git a/Lib/compileall.py b/Lib/compileall.py index 49537fded0..1a0b7cc2ad 100644 --- a/Lib/compileall.py +++ b/Lib/compileall.py @@ -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, '...'