Skip to content
Browse files

Exit properly on an abort

  • Loading branch information...
1 parent 79be040 commit 4887e3ab9e2415276c5045e8a7e99a1e7f89ccf7 @andre-d committed Mar 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 dcpucore.py
View
2 dcpucore.py
@@ -151,7 +151,7 @@ def _tick(self, op, a, b):
def _abort(self, message):
print(self.__dict__)
- raise Exception(message)
+ raise SystemExit(message)
def _setval(self, vc, f=None):
"""

0 comments on commit 4887e3a

Please sign in to comment.
Something went wrong with that request. Please try again.