[Erp5-report] r38943 vincent - in /erp5/trunk/bt5/erp5_banking_cash: SkinTemplateItem/porta...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 7 09:59:55 CEST 2010


Author: vincent
Date: Thu Oct  7 09:59:52 2010
New Revision: 38943

URL: http://svn.erp5.org?rev=38943&view=rev
Log:
Fix an exception when keys are not present in kw.

Modified:
    erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/ListBox_listCashContainers.xml
    erp5/trunk/bt5/erp5_banking_cash/bt/revision

Modified: erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/ListBox_listCashContainers.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/ListBox_listCashContainers.xml?rev=38943&r1=38942&r2=38943&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/ListBox_listCashContainers.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_cash/SkinTemplateItem/portal_skins/erp5_banking_cash/ListBox_listCashContainers.xml [utf8] Thu Oct  7 09:59:52 2010
@@ -83,7 +83,7 @@ if at_date is None:\n
 tracking_kw = {\n
   \'at_date\': at_date,\n
   \'node\': node,\n
-  \'limit_expression\': (int(kw.get(\'list_start\')) or 0, int(kw.get(\'list_lines\')) or 20),\n
+  \'limit_expression\': (int(kw.get(\'list_start\', 0)), int(kw.get(\'list_lines\', 20))),\n
 }\n
 \n
 request = context.REQUEST\n

Modified: erp5/trunk/bt5/erp5_banking_cash/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_cash/bt/revision?rev=38943&r1=38942&r2=38943&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_cash/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_cash/bt/revision [utf8] Thu Oct  7 09:59:52 2010
@@ -1 +1 @@
-683
+684




More information about the Erp5-report mailing list