[Erp5-report] r32733 nicolas.dumazet - /erp5/trunk/products/ERP5Type/XMLMatrix.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 18 10:09:48 CET 2010
Author: nicolas.dumazet
Date: Thu Feb 18 10:09:47 2010
New Revision: 32733
URL: http://svn.erp5.org?rev=32733&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=32733&r1=32732&r2=32733&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/XMLMatrix.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/XMLMatrix.py [utf8] Thu Feb 18 10:09:47 2010
@@ -586,10 +586,11 @@
Returns a list of cell values as tuples
"""
result = []
+ append = result.append
for id in self.getCellIdList(base_id=base_id):
o = self.get(id)
if o is not None:
- result += [o]
+ append(o)
return result
security.declareProtected( Permissions.AccessContentsInformation,
More information about the Erp5-report
mailing list