Commit 506c2d65 authored by Jérome Perrin's avatar Jérome Perrin

remove return inside for loop


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4033 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 43e466e9
......@@ -215,7 +215,6 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
except ObjectMoved, moved_exc:
ob = moved_exc.getNewObject()
# Re-raise after transition
return
security.declarePrivate('notifySuccess')
def notifySuccess(self, ob, action, result, args=None, kw=None):
......@@ -290,8 +289,6 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
for script_name in tdef.activate_script_name:
self.activate(activity='SQLQueue').activeScript(script_name, ob.getRelativeUrl(), status, tdef.id)
return
security.declarePrivate('activeScript')
def activeScript(self, script_name, ob_url, status, tdef_id):
script = self.scripts[script_name]
......
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