Commit 8dc5b7fd authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

WorkflowTool.py: correct a typo error.

parent fead09e1
......@@ -375,7 +375,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
# set transition's destination state:
for tid in dc_workflow.transitions:
tdef = workflow._getOb('transition_'+tid)
state = getattr(workflow, 'transition_'+dc_workflow.transitions.get(tid).new_state_id, None)
state = getattr(workflow, 'state_'+dc_workflow.transitions.get(tid).new_state_id, None)
if state is None:
# it's a remain in state transition.
continue
......
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