From ca02f3a4d650b7fc9a26b25bdd5cf159837a8a88 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 15 Mar 2010 02:58:24 +0000 Subject: this little exception dance is pointless --- Lib/compileall.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Lib/compileall.py b/Lib/compileall.py index 49537fd..1a0b7cc 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, '...' -- cgit v0.12