[Erp5-report] r23867 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Sep 27 22:23:08 CEST 2008


Author: kazuhiko
Date: Sat Sep 27 22:23:07 2008
New Revision: 23867

URL: http://svn.erp5.org?rev=23867&view=rev
Log:
no need to use lambda because int() is a function.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ListBox_initializeFastInput.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ListBox_initializeFastInput.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ListBox_initializeFastInput.xml?rev=23867&r1=23866&r2=23867&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ListBox_initializeFastInput.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ListBox_initializeFastInput.xml Sat Sep 27 22:23:07 2008
@@ -76,7 +76,7 @@
   keys_list = listbox.keys()\n
 \n
   if keys_list != []:\n
-    keys_list.sort(key=lambda x: int(x))\n
+    keys_list.sort(key=int)\n
     first_empty_line_id = int(keys_list[-1])+1\n
 \n
   for i in keys_list:\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=23867&r1=23866&r2=23867&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Sat Sep 27 22:23:07 2008
@@ -1,1 +1,1 @@
-969
+970




More information about the Erp5-report mailing list