[Erp5-report] r11104 - /erp5/trunk/products/ERP5Type/Tool/CacheTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 6 11:01:00 CET 2006


Author: ivan
Date: Mon Nov  6 11:00:38 2006
New Revision: 11104

URL: http://svn.erp5.org?rev=11104&view=rev
Log:
Renamed Cache plugins

Modified:
    erp5/trunk/products/ERP5Type/Tool/CacheTool.py

Modified: erp5/trunk/products/ERP5Type/Tool/CacheTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Tool/CacheTool.py?rev=11104&r1=11103&r2=11104&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Tool/CacheTool.py (original)
+++ erp5/trunk/products/ERP5Type/Tool/CacheTool.py Mon Nov  6 11:00:38 2006
@@ -74,9 +74,9 @@
       for cp in cf.getCachePluginList():
         cache_obj = None
         cp_meta_type = cp.meta_type
-        if cp_meta_type == 'ERP5 Ram Cache Plugin':
+        if cp_meta_type == 'ERP5 Ram Cache':
           cache_obj = RamCache()
-        elif cp_meta_type == 'ERP5 Distributed Ram Cache Plugin':
+        elif cp_meta_type == 'ERP5 Distributed Ram Cache':
             ## even thougn we have such plugin in ZODB that doens't mean
             ## we have corresponding memcache module installed
           if 'memcache' in globals().keys():
@@ -85,7 +85,7 @@
             ## we don't have memcache python module installed 
             ## thus we can't use DistributedRamCache plugin
             cache_obj = None
-        elif cp_meta_type == 'ERP5 SQL Cache Plugin':
+        elif cp_meta_type == 'ERP5 SQL Cache':
           ## use connection details from 'erp5_sql_transactionless_connection' ZMySLQDA object
           connection_string = self.erp5_sql_transactionless_connection.connection_string
           kw = self.parseDBConnectionString(connection_string)




More information about the Erp5-report mailing list