Commit 09eaa6c7 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix nesting mistake.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15454 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e52fed5b
...@@ -409,7 +409,7 @@ def WorkflowTool_listActions(self, info=None, object=None): ...@@ -409,7 +409,7 @@ def WorkflowTool_listActions(self, info=None, object=None):
LOG('WorklistGeneration', BLATHER, 'Distributed into %s worklists.'% (len(worklist_result_dict), )) LOG('WorklistGeneration', BLATHER, 'Distributed into %s worklists.'% (len(worklist_result_dict), ))
action_list = generateActionList(grouped_worklist_dict=grouped_worklist_dict, worklist_result=worklist_result_dict, portal_url=portal_url) action_list = generateActionList(grouped_worklist_dict=grouped_worklist_dict, worklist_result=worklist_result_dict, portal_url=portal_url)
LOG('WorklistGeneration', BLATHER, 'Creating %s actions.' % (len(action_list), )) LOG('WorklistGeneration', BLATHER, 'Creating %s actions.' % (len(action_list), ))
return action_list return action_list
user = str(_getAuthenticatedUser(self)) user = str(_getAuthenticatedUser(self))
_getWorklistActionList = CachingMethod(_getWorklistActionList, id=('_getWorklistActionList', user), cache_factory = 'erp5_ui_short') _getWorklistActionList = CachingMethod(_getWorklistActionList, id=('_getWorklistActionList', user), cache_factory = 'erp5_ui_short')
actions.extend(_getWorklistActionList()) actions.extend(_getWorklistActionList())
......
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