[Erp5-report] r24936 - /erp5/trunk/products/ZSQLCatalog/SQLCatalog.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 18 11:29:45 CET 2008


Author: vincent
Date: Thu Dec 18 11:29:37 2008
New Revision: 24936

URL: http://svn.erp5.org?rev=24936&view=rev
Log:
Another type mistake: this returns a dict, so use .copy().

Modified:
    erp5/trunk/products/ZSQLCatalog/SQLCatalog.py

Modified: erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/SQLCatalog.py?rev=24936&r1=24935&r2=24936&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/SQLCatalog.py [utf8] (original)
+++ erp5/trunk/products/ZSQLCatalog/SQLCatalog.py [utf8] Thu Dec 18 11:29:37 2008
@@ -1708,7 +1708,7 @@
           %(table_index, table))
       return table_index
     return CachingMethod(_getTableIndex, id='SQLCatalog.getTableIndex', \
-                         cache_factory='erp5_content_long')(table=table)[:]
+                         cache_factory='erp5_content_long')(table=table).copy()
 
 
   def getIndex(self, table, column_list, all_column_list):




More information about the Erp5-report mailing list