Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug fix: Intercept Control-C (KeyboardInterrupt) like other exceptions

  • Loading branch information...
commit aff8b4495f9d65d4673449f476c28a2b7d3658a6 1 parent 9e8494b
@xolox xolox authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 pip_accel/__init__.py
View
4 pip_accel/__init__.py
@@ -20,7 +20,7 @@
"""
# Semi-standard module versioning.
-__version__ = '0.11.5'
+__version__ = '0.11.6'
# Standard library modules.
import os
@@ -306,7 +306,7 @@ def run(self, *args, **kw):
self.intercepted_exception = None
self.requirement_set = original_method(*args, **kw)
return self.requirement_set
- except Exception, e:
+ except (Exception, KeyboardInterrupt), e:
self.intercepted_exception = e
raise
Please sign in to comment.
Something went wrong with that request. Please try again.