Remove duplicated parameter with default that came before non-default parameters

Zope 2.12 now considers this a Syntax Error (as it should)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31608 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3fd0dccc
...@@ -115,7 +115,7 @@ if file.filename not in [\'\', None]:\n ...@@ -115,7 +115,7 @@ if file.filename not in [\'\', None]:\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>form_id=\'view\', portal_type, title, reference, short_title, language, version, description, file, form_id=\'view\', **kw</string> </value> <value> <string>portal_type, title, reference, short_title, language, version, description, file, form_id=\'view\', **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -135,13 +135,12 @@ if file.filename not in [\'\', None]:\n ...@@ -135,13 +135,12 @@ if file.filename not in [\'\', None]:\n
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>10</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>form_id</string>
<string>portal_type</string> <string>portal_type</string>
<string>title</string> <string>title</string>
<string>reference</string> <string>reference</string>
...@@ -186,15 +185,6 @@ if file.filename not in [\'\', None]:\n ...@@ -186,15 +185,6 @@ if file.filename not in [\'\', None]:\n
<value> <value>
<tuple> <tuple>
<string>view</string> <string>view</string>
<none/>
<none/>
<none/>
<none/>
<none/>
<none/>
<none/>
<none/>
<string>view</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
666 668
\ 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