Commit 96fd2da6 authored by Sebastien Robin's avatar Sebastien Robin

fixed an indentation error


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4533 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eccd555d
......@@ -295,7 +295,9 @@ class ERP5TransitionDefinition (TransitionDefinition):
"""
pass
def getAvailableScriptIds(self):
return self.getWorkflow().scripts.keys() + [k for k in self.getWorkflow().transitions.keys() if self.getWorkflow().transitions[k].trigger_type == TRIGGER_WORKFLOW_METHOD]
def getAvailableScriptIds(self):
return self.getWorkflow().scripts.keys() + \
[k for k in self.getWorkflow().transitions.keys() if \
self.getWorkflow().transitions[k].trigger_type == TRIGGER_WORKFLOW_METHOD]
TransitionDefinition.getAvailableScriptIds = ERP5TransitionDefinition.getAvailableScriptIds
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