[Erp5-report] r26662 - in /erp5/trunk/bt5/erp5_web: SkinTemplateItem/portal_skins/erp5_web/...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 27 14:13:23 CEST 2009


Author: fabien
Date: Mon Apr 27 14:13:22 2009
New Revision: 26662

URL: http://svn.erp5.org?rev=26662&view=rev
Log:
remove all_languages default arguments. Here it's useless, we can use **kw to pass it. And default value is the same in called script (False).
This also permit to fix this understandable comment.

Modified:
    erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueList.xml
    erp5/trunk/bt5/erp5_web/bt/revision

Modified: erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueList.xml?rev=26662&r1=26661&r2=26662&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSection_getDocumentValueList.xml [utf8] Mon Apr 27 14:13:22 2009
@@ -53,8 +53,8 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string># In normal web sites pages, if nothing is specify, only in a selected language should be displayed.\n
-return context.WebSection_getDocumentValueListBase(all_languages=all_languages, **kw)\n
+            <value> <string># This script returns a list of document values\n
+return context.WebSection_getDocumentValueListBase(**kw)\n
 </string> </value>
         </item>
         <item>
@@ -65,7 +65,7 @@
         </item>
         <item>
             <key> <string>_params</string> </key>
-            <value> <string>all_languages=False, **kw</string> </value>
+            <value> <string>**kw</string> </value>
         </item>
         <item>
             <key> <string>errors</string> </key>
@@ -85,13 +85,12 @@
                   <dictionary>
                     <item>
                         <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
+                        <value> <int>0</int> </value>
                     </item>
                     <item>
                         <key> <string>co_varnames</string> </key>
                         <value>
                           <tuple>
-                            <string>all_languages</string>
                             <string>kw</string>
                             <string>_apply_</string>
                             <string>_getattr_</string>
@@ -107,9 +106,7 @@
         <item>
             <key> <string>func_defaults</string> </key>
             <value>
-              <tuple>
-                <int>0</int>
-              </tuple>
+              <none/>
             </value>
         </item>
         <item>

Modified: erp5/trunk/bt5/erp5_web/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web/bt/revision?rev=26662&r1=26661&r2=26662&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_web/bt/revision [utf8] Mon Apr 27 14:13:22 2009
@@ -1,1 +1,1 @@
-793
+794




More information about the Erp5-report mailing list