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

patches/DCWorkflow.py: correct commentairies.

parent 14889d3e
...@@ -772,7 +772,7 @@ def DCWorkflowDefinition_notifySuccess(self, ob, transition_list, result, args=N ...@@ -772,7 +772,7 @@ def DCWorkflowDefinition_notifySuccess(self, ob, transition_list, result, args=N
''' '''
pass pass
# following 15 patches are required for the new workflow tool compatibility. # following patches are required for the new workflow tool compatibility.
def DCWorkflowDefinition_getVariableValueList(self): def DCWorkflowDefinition_getVariableValueList(self):
if self.variables is not None: if self.variables is not None:
return self.variables return self.variables
...@@ -820,7 +820,7 @@ def DCWorkflowDefinition_getPortalType(self): ...@@ -820,7 +820,7 @@ def DCWorkflowDefinition_getPortalType(self):
return self.__class__.__name__ return self.__class__.__name__
def method_getReference(self): def method_getReference(self):
return self.id return self.id
# a necessary funtion in Base_viewDict # return infomation to Base_viewDict
def DCWorkflowDefinition_showDict(self): def DCWorkflowDefinition_showDict(self):
attr_dict = {} attr_dict = {}
for attr in sorted(self.__dict__.keys()): for attr in sorted(self.__dict__.keys()):
......
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