Commit ac97541e authored by payno's avatar payno

PEP8 outData -> out_data

parent e6cbb1de
......@@ -52,7 +52,7 @@ def trace_unhandled_exceptions(func):
@functools.wraps(func)
def wrapped_func(*args, **kwargs):
try:
outData = func(*args, **kwargs)
out_data = func(*args, **kwargs)
except Exception as e:
_logger.exception(e)
errorMessage = '{0}'.format(e)
......@@ -62,7 +62,7 @@ def trace_unhandled_exceptions(func):
traceBack=traceBack,
data=args[1]
)
return outData
return out_data
return wrapped_func
......@@ -107,7 +107,7 @@ class Node(object):
"""handlers with link name as key and callback as value.
The default handler is store under the 'None' value"""
self._error_handler = error_handler
self.outData = None
self.out_data = None
@property
def handlers(self) -> dict:
......
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