[Erp5-report] r29107 - /erp5/trunk/products/ERP5Type/CachePlugins/DistributedRamCache.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Sep 18 11:05:49 CEST 2009


Author: nicolas
Date: Fri Sep 18 11:05:48 2009
New Revision: 29107

URL: http://svn.erp5.org?rev=29107&view=rev
Log:
MemcacheDict does not implement delete

Modified:
    erp5/trunk/products/ERP5Type/CachePlugins/DistributedRamCache.py

Modified: erp5/trunk/products/ERP5Type/CachePlugins/DistributedRamCache.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/CachePlugins/DistributedRamCache.py?rev=29107&r1=29106&r2=29107&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/CachePlugins/DistributedRamCache.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/CachePlugins/DistributedRamCache.py [utf8] Fri Sep 18 11:05:48 2009
@@ -109,7 +109,7 @@
     # since some memcached-like products does not support expiration, we
     # check it by ourselves.
     if cache_entry.isExpired():
-      cache_storage.delete(cache_id)
+      del cache_storage[cache_id]
       return default
     self.markCacheHit()
     return cache_entry




More information about the Erp5-report mailing list