Commit 1f0bcb34 authored by wenjie.zheng's avatar wenjie.zheng

DCWorkflow.py: add a compatibility-related function deleteTranstions.

parent c0878727
......@@ -1052,7 +1052,11 @@ def DCWorkflowDefinition_setStateVariable(self, name):
def DCWorkflowDefinition_addTransition(self, name):
self.transitions.addTransition(name)
def DCWorkflowDefinition_deleteTransitions(self, name):
self.transitions.deleteTransitions(name)
DCWorkflowDefinition.addTransition = DCWorkflowDefinition_addTransition
DCWorkflowDefinition.deleteTransitions = DCWorkflowDefinition_deleteTransitions
DCWorkflowDefinition.getReference = method_getReference
DCWorkflowDefinition.getSourceValue = DCWorkflowDefinition_getSourceValue
DCWorkflowDefinition.notifyWorkflowMethod = DCWorkflowDefinition_notifyWorkflowMethod
......
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