Commit 485c81bc authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Since inserting a non-keyword argument breaks compatibility, 'description'...

Since inserting a non-keyword argument breaks compatibility, 'description' argument should be moved to the last keyword argument.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24449 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b0162e79
......@@ -61,7 +61,6 @@ def ActionProviderBase_manage_editActionsForm( self, REQUEST, manage_tabs_messag
def ActionProviderBase_addAction( self
, id
, name
, description
, action
, condition
, permission
......@@ -70,6 +69,7 @@ def ActionProviderBase_addAction( self
, visible=1
, priority=1.0
, REQUEST=None
, description=''
):
""" Add an action to our list.
"""
......
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