summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-11-23 09:36:18 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-11-23 09:36:18 +0100
commitb75f6debc96c7fcfd1439264b484b4879156bd10 (patch)
tree6899f0c155dac3830cfa430afab04232d97830d2
parent222292502499b36637349c4d358f3e3170034576 (diff)
downloadpylint-git-b75f6debc96c7fcfd1439264b484b4879156bd10.tar.gz
cleanup: remove KeyboardInterrupt capture: it goes through Exception in py >= 2.5
KeyboardInterrupt is no more a subclass of Exception anymore
-rw-r--r--lint.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lint.py b/lint.py
index c6bf953ad..6e602f644 100644
--- a/lint.py
+++ b/lint.py
@@ -532,8 +532,6 @@ This is used by the global evaluation report (RP0004).'}),
return MANAGER.astng_from_file(filepath, modname, source=True)
except SyntaxError, ex:
self.add_message('E0001', line=ex.lineno, args=ex.msg)
- except KeyboardInterrupt:
- raise
except Exception, ex:
# import traceback
# traceback.print_exc()