Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
workflow
representation
Commits
ac97541e
Commit
ac97541e
authored
Apr 07, 2020
by
payno
Browse files
PEP8 outData -> out_data
parent
e6cbb1de
Changes
1
Hide whitespace changes
Inline
Side-by-side
scheme/node.py
View file @
ac97541e
...
...
@@ -52,7 +52,7 @@ def trace_unhandled_exceptions(func):
@
functools
.
wraps
(
func
)
def
wrapped_func
(
*
args
,
**
kwargs
):
try
:
out
D
ata
=
func
(
*
args
,
**
kwargs
)
out
_d
ata
=
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
out
D
ata
return
out
_d
ata
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
.
out
D
ata
=
None
self
.
out
_d
ata
=
None
@
property
def
handlers
(
self
)
->
dict
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment