Commit bf2dcbc1 authored by wenjie.zheng's avatar wenjie.zheng

WorkflowTool.py: modification of simplification.

parent 41fb2314
...@@ -747,7 +747,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool): ...@@ -747,7 +747,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
workflow_list = document_pt.getTypeWorkflowList() workflow_list = document_pt.getTypeWorkflowList()
for wf_id in workflow_list: for wf_id in workflow_list:
did[wf_id] = None did[wf_id] = None
wf = self.getPortalObject().portal_workflow._getOb(wf_id, None) wf = self._getOb(wf_id, None)
if wf is not None: if wf is not None:
a = wf.listObjectActions(info) a = wf.listObjectActions(info)
if a is not None and a != []: if a is not None and 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