Commit d4a3d201 authored by Nicolas Dumazet's avatar Nicolas Dumazet

less indentation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42495 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 75ea7081
......@@ -697,13 +697,14 @@ def initializePortalTypeDynamicWorkflowMethods(self, klass, ptype, prop_holder,
method.registerTransitionAlways(ptype, wf_id, transition_id)
method.registerTransitionAlways(ptype, wf_id, tr_id)
if interaction_workflow_dict:
if not interaction_workflow_dict:
return
# only compute once this (somehow) costly list
all_method_id_list = prop_holder.getAccessorMethodIdList() + \
prop_holder.getWorkflowMethodIdList() + \
prop_holder.getClassMethodIdList(klass)
else:
all_method_id_list = []
# XXX This part is (more or less...) a copy and paste
# We need to run this part twice in order to handle interactions of interactions
# ex. an interaction workflow creates a workflow method which matches
......
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