[Erp5-report] r33525 kazuhiko - /erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_ski...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Mar 9 12:42:26 CET 2010


Author: kazuhiko
Date: Tue Mar  9 12:42:24 2010
New Revision: 33525

URL: http://svn.erp5.org?rev=33525&view=rev
Log:
display (None) for empty item.

Modified:
    erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/SolverDecision_getDeliverySolverList.xml

Modified: erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/SolverDecision_getDeliverySolverList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/SolverDecision_getDeliverySolverList.xml?rev=33525&r1=33524&r2=33525&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/SolverDecision_getDeliverySolverList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/SkinTemplateItem/portal_skins/erp5_simulation/SolverDecision_getDeliverySolverList.xml [utf8] Tue Mar  9 12:42:24 2010
@@ -54,10 +54,10 @@
         <item>
             <key> <string>_body</string> </key>
             <value> <string>try:\n
-  return [(\'\', \'\')] + [x for x in context.getPortalObject().portal_solvers.getDeliverySolverTranslatedItemList() \\\n
+  return [(\'(None)\', \'\')] + [x for x in context.getPortalObject().portal_solvers.getDeliverySolverTranslatedItemList() \\\n
       if x[1] in context.getSolverValue().getDeliverySolverList()]\n
 except AttributeError:\n
-  return [(\'\', \'\')]\n
+  return [(\'(None)\', \'\')]\n
 </string> </value>
         </item>
         <item>




More information about the Erp5-report mailing list