Commit 5f4d9867 authored by Julien Muchembled's avatar Julien Muchembled

Fix 'non-default argument follows default argument' errors

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41472 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 32386c78
...@@ -68,18 +68,12 @@ invoice.Base_jumpToRelatedObject(base_category=base_category, related=related, p ...@@ -68,18 +68,12 @@ invoice.Base_jumpToRelatedObject(base_category=base_category, related=related, p
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>base_category, portal_type=(), invoice_type, related=1, selection_name="", selection_index=0, form_id=\'view\', target_form_id=None, jump_from_relative_url=None</string> </value> <value> <string>base_category, portal_type=(), invoice_type=(), related=1, selection_name="", selection_index=0, form_id=\'view\', target_form_id=None, jump_from_relative_url=None</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
<value> <value>
<tuple> <tuple/>
<string encoding="cdata"><![CDATA[
non-default argument follows default argument (<function parameters>, line 1)
]]></string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
...@@ -94,12 +88,25 @@ non-default argument follows default argument (<function parameters>, line 1) ...@@ -94,12 +88,25 @@ non-default argument follows default argument (<function parameters>, line 1)
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>0</int> </value> <value> <int>9</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple/> <tuple>
<string>base_category</string>
<string>portal_type</string>
<string>invoice_type</string>
<string>related</string>
<string>selection_name</string>
<string>selection_index</string>
<string>form_id</string>
<string>target_form_id</string>
<string>jump_from_relative_url</string>
<string>_getattr_</string>
<string>context</string>
<string>invoice</string>
</tuple>
</value> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -110,7 +117,16 @@ non-default argument follows default argument (<function parameters>, line 1) ...@@ -110,7 +117,16 @@ non-default argument follows default argument (<function parameters>, line 1)
<item> <item>
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<tuple/> <tuple>
<tuple/>
<tuple/>
<int>1</int>
<string></string>
<int>0</int>
<string>view</string>
<none/>
<none/>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
97 98
\ No newline at end of file \ No newline at end of file
...@@ -161,18 +161,12 @@ context.REQUEST.RESPONSE.redirect(\'%s/portal_skins/%s/manage_main\' \\\n ...@@ -161,18 +161,12 @@ context.REQUEST.RESPONSE.redirect(\'%s/portal_skins/%s/manage_main\' \\\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>create_skin_id=None, selected_skin_id=None, erp5_report_form_title, erp5_report_form_id, listbox_column_id_list=[], python_expression=None, sql_expression=None, action_portal_type=None,portal_type_action=False, create_configure_dialog=True, **kw</string> </value> <value> <string>create_skin_id=None, selected_skin_id=None, erp5_report_form_title=None, erp5_report_form_id=None, listbox_column_id_list=[], python_expression=None, sql_expression=None, action_portal_type=None,portal_type_action=False, create_configure_dialog=True, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
<value> <value>
<tuple> <tuple/>
<string encoding="cdata"><![CDATA[
non-default argument follows default argument (<function parameters>, line 1)
]]></string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
...@@ -187,12 +181,47 @@ non-default argument follows default argument (<function parameters>, line 1) ...@@ -187,12 +181,47 @@ non-default argument follows default argument (<function parameters>, line 1)
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>0</int> </value> <value> <int>10</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple/> <tuple>
<string>create_skin_id</string>
<string>selected_skin_id</string>
<string>erp5_report_form_title</string>
<string>erp5_report_form_id</string>
<string>listbox_column_id_list</string>
<string>python_expression</string>
<string>sql_expression</string>
<string>action_portal_type</string>
<string>portal_type_action</string>
<string>create_configure_dialog</string>
<string>kw</string>
<string>None</string>
<string>MARKER</string>
<string>_getattr_</string>
<string>context</string>
<string>portal</string>
<string>portal_skins</string>
<string>skin_folder</string>
<string>getattr</string>
<string>form_action_portal_type</string>
<string>form_id</string>
<string>dialog_form_id</string>
<string>source_form_id</string>
<string>cb_copy_data</string>
<string>form_object</string>
<string>listbox_list_method_id</string>
<string>_getitem_</string>
<string>zsql_method</string>
<string>script</string>
<string>listbox_id</string>
<string>listbox</string>
<string>$list0</string>
<string>_getiter_</string>
<string>x</string>
</tuple>
</value> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -203,7 +232,18 @@ non-default argument follows default argument (<function parameters>, line 1) ...@@ -203,7 +232,18 @@ non-default argument follows default argument (<function parameters>, line 1)
<item> <item>
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<tuple/> <tuple>
<none/>
<none/>
<none/>
<none/>
<list/>
<none/>
<none/>
<none/>
<int>0</int>
<int>1</int>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
...@@ -117,18 +117,12 @@ return gadget.Base_redirect(\'view\', \n ...@@ -117,18 +117,12 @@ return gadget.Base_redirect(\'view\', \n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>create_skin_id=None, selected_skin_id=None, gadget_title, gadget_id, view_form_id, edit_form_id, gadget_code_type,render_type, **kw</string> </value> <value> <string>create_skin_id=None, selected_skin_id=None, gadget_title=None, gadget_id=None, view_form_id=None, edit_form_id=None, gadget_code_type=None,render_type=None, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
<value> <value>
<tuple> <tuple/>
<string encoding="cdata"><![CDATA[
non-default argument follows default argument (<function parameters>, line 1)
]]></string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
...@@ -143,12 +137,40 @@ non-default argument follows default argument (<function parameters>, line 1) ...@@ -143,12 +137,40 @@ non-default argument follows default argument (<function parameters>, line 1)
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>0</int> </value> <value> <int>8</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple/> <tuple>
<string>create_skin_id</string>
<string>selected_skin_id</string>
<string>gadget_title</string>
<string>gadget_id</string>
<string>view_form_id</string>
<string>edit_form_id</string>
<string>gadget_code_type</string>
<string>render_type</string>
<string>kw</string>
<string>None</string>
<string>MARKER</string>
<string>_getattr_</string>
<string>context</string>
<string>portal_gadgets</string>
<string>portal_skins</string>
<string>skin_folder</string>
<string>getattr</string>
<string>_apply_</string>
<string>gadget</string>
<string>erp5_logo</string>
<string>image</string>
<string>str</string>
<string>_getitem_</string>
<string>view_form</string>
<string>edit_form</string>
<string>script</string>
<string>dict</string>
</tuple>
</value> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -159,7 +181,16 @@ non-default argument follows default argument (<function parameters>, line 1) ...@@ -159,7 +181,16 @@ non-default argument follows default argument (<function parameters>, line 1)
<item> <item>
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<tuple/> <tuple>
<none/>
<none/>
<none/>
<none/>
<none/>
<none/>
<none/>
<none/>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
69 70
\ No newline at end of file \ No newline at end of file
...@@ -69,18 +69,12 @@ return active_result\n ...@@ -69,18 +69,12 @@ return active_result\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>summary, severity=0, detail</string> </value> <value> <string>summary, severity=0, detail=\'\'</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
<value> <value>
<tuple> <tuple/>
<string encoding="cdata"><![CDATA[
non-default argument follows default argument (<function parameters>, line 1)
]]></string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
...@@ -95,12 +89,22 @@ non-default argument follows default argument (<function parameters>, line 1) ...@@ -95,12 +89,22 @@ non-default argument follows default argument (<function parameters>, line 1)
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>0</int> </value> <value> <int>3</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple/> <tuple>
<string>summary</string>
<string>severity</string>
<string>detail</string>
<string>Products.ERP5Type.Log</string>
<string>log</string>
<string>Products.CMFActivity.ActiveResult</string>
<string>ActiveResult</string>
<string>active_result</string>
<string>_getattr_</string>
</tuple>
</value> </value>
</item> </item>
</dictionary> </dictionary>
...@@ -111,7 +115,10 @@ non-default argument follows default argument (<function parameters>, line 1) ...@@ -111,7 +115,10 @@ non-default argument follows default argument (<function parameters>, line 1)
<item> <item>
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<tuple/> <tuple>
<int>0</int>
<string></string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
544 545
\ No newline at end of file \ No newline at end of file
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