Commit 8a49145c authored by Julien Muchembled's avatar Julien Muchembled

Exceptions are not new-style classes in Python < 2.5

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2737 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent bb69f48b
......@@ -120,7 +120,7 @@ class ChildException(KeyboardInterrupt):
f = f.f_back
else:
raise type, value, tb
super(ChildException, self).__init__(type, value, tb)
KeyboardInterrupt.__init__(self, type, value, tb)
def __call__(self):
"""Re-raise wrapped exception"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment