Commit 782fe924 authored by wenjie.zheng's avatar wenjie.zheng

Revert "patches/DCWorkflow.py: correct commentairies."

This reverts commit ea00f588.
parent 8a3e0a32
...@@ -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 patches are required for the new workflow tool compatibility. # following 15 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
# return infomation to Base_viewDict # a necessary funtion in 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