Commit ac97541e authored by payno's avatar payno
Browse files

PEP8 outData -> out_data

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