[Erp5-report] r32734 nicolas.dumazet - /erp5/trunk/products/ERP5Type/XMLMatrix.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 18 10:13:54 CET 2010
Author: nicolas.dumazet
Date: Thu Feb 18 10:13:53 2010
New Revision: 32734
URL: http://svn.erp5.org?rev=32734&view=rev
Log:
append instead of concatenate
Modified:
erp5/trunk/products/ERP5Type/XMLMatrix.py
Modified: erp5/trunk/products/ERP5Type/XMLMatrix.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/XMLMatrix.py?rev=32734&r1=32733&r2=32734&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/XMLMatrix.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/XMLMatrix.py [utf8] Thu Feb 18 10:13:53 2010
@@ -616,9 +616,10 @@
"""
ids = self.getCellIds(base_id = base_id)
my_ids = []
+ append = my_ids.append
for i in self.objectIds():
if i in ids:
- my_ids += [i]
+ append(i)
if len(my_ids) > 0:
self.manage_delObjects(ids=my_ids)
More information about the Erp5-report
mailing list