Commit 718c18ec authored by Denis Bilenko's avatar Denis Bilenko

insignificant change

parent 2b622411
......@@ -27,8 +27,9 @@ class wrap_errors(object):
self.func = func
def __call__(self, *args, **kwargs):
func = self.func
try:
return self.func(*args, **kwargs)
return func(*args, **kwargs)
except self.errors, ex:
return ex
......
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