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
pypushflow
Commits
b88d79cf
Commit
b88d79cf
authored
Aug 04, 2020
by
payno
Browse files
[PythonActor] if data is None, set to it to dict
parent
a1257e52
Changes
1
Hide whitespace changes
Inline
Side-by-side
pypushflow/PythonActor.py
View file @
b88d79cf
...
...
@@ -42,6 +42,8 @@ class WorkflowException(Exception):
def
__init__
(
self
,
errorMessage
=
""
,
traceBack
=
""
,
data
=
{},
msg
=
None
):
super
(
WorkflowException
,
self
).
__init__
(
msg
)
self
.
errorMessage
=
errorMessage
if
data
is
None
:
data
=
{}
self
.
data
=
data
self
.
traceBack
=
traceBack
...
...
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