[Erp5-report] r43263 gregory - /erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_s...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 10 11:07:38 CET 2011
Author: gregory
Date: Thu Feb 10 11:07:38 2011
New Revision: 43263
URL: http://svn.erp5.org?rev=43263&view=rev
Log:
Ensure to give an integer to xrange.
Modified:
erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReceptionLine_checkOrCreateItemList.xml
Modified: erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReceptionLine_checkOrCreateItemList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReceptionLine_checkOrCreateItemList.xml?rev=43263&r1=43262&r2=43263&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReceptionLine_checkOrCreateItemList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_banking_check/SkinTemplateItem/portal_skins/erp5_banking_check_operation/CheckbookReceptionLine_checkOrCreateItemList.xml [utf8] Thu Feb 10 11:07:38 2011
@@ -213,7 +213,7 @@ else:\n
\n
unique_per_account = resource.isUniquePerAccount()\n
aggregate_list = []\n
-for i in xrange(quantity):\n
+for i in xrange(int(quantity)):\n
if create == 1:\n
item = module.newContent(activate_kw={\'tag\': tag, \'priority\':4})\n
context.log(\'New Item created with Id\', item.getId())\n
More information about the Erp5-report
mailing list