From 0934c5f551d7db31a431ac4a26f215fbee6d9fce Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Fri, 6 May 2011 09:04:00 +0000 Subject: [PATCH] Do not use ** magic needlessly. --- product/ERP5Type/Workflow.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ERP5Type/Workflow.py b/product/ERP5Type/Workflow.py index 5434fbb21a..fd74238544 100644 --- a/product/ERP5Type/Workflow.py +++ b/product/ERP5Type/Workflow.py @@ -85,9 +85,9 @@ def _generateWorkflowConstructors(factory_info): # The form def manage_addWorkflowForm(dispatcher, REQUEST, RESPONSE): """Form to add a type-specific workflow to portal_workflow""" - kw = dict(workflow_factory_title=workflow_factory_title, - form_action=constructor_action_name) - return manage_addWorkflowFormDtml(None, dispatcher, REQUEST, **kw) + return manage_addWorkflowFormDtml(None, dispatcher, REQUEST, + workflow_factory_title=workflow_factory_title, + form_action=constructor_action_name) # The action of the form @postonly -- 2.30.9