Commit 64a63d76 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix decorator.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2064 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ff968d44
...@@ -53,6 +53,7 @@ def decorate(func): ...@@ -53,6 +53,7 @@ def decorate(func):
# "debug" module don't kill process. # "debug" module don't kill process.
traceback.print_exc() traceback.print_exc()
errno.value = old_errno errno.value = old_errno
return decorator
@decorate @decorate
def debugHandler(sig, frame): def debugHandler(sig, frame):
......
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