Commit 2ee0030f authored by wenjie.zheng's avatar wenjie.zheng

WorkflowTool.py: fix mistakenly put worklist dict into actions list. Crash no...

WorkflowTool.py: fix mistakenly put worklist dict into actions list. Crash no more but still doesn't work.
parent 14e9f25c
...@@ -477,15 +477,7 @@ def WorkflowTool_listActions(self, info=None, object=None, src__=False): ...@@ -477,15 +477,7 @@ def WorkflowTool_listActions(self, info=None, object=None, src__=False):
a = wf.listObjectActions(info) a = wf.listObjectActions(info)
if a is not None: if a is not None:
actions.extend(a) actions.extend(a)
"""
a = wf.listGlobalActions(info)
if a is not None:
actions.extend(a)
"""
a = wf.getWorklistVariableMatchDict(info) ### zwj: replace listGlobalActions(info) a = wf.getWorklistVariableMatchDict(info) ### zwj: replace listGlobalActions(info)
if a is not None:
actions.extend(a)
### zwj: ???
if a is not None: if a is not None:
worklist_dict[wf_id] = a worklist_dict[wf_id] = a
### ========================================================================== ### ==========================================================================
......
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