[Erp5-report] r29968 - /erp5/trunk/products/ERP5/mixin/cached_convertable.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Oct 23 14:01:27 CEST 2009


Author: fabien
Date: Fri Oct 23 14:01:24 2009
New Revision: 29968

URL: http://svn.erp5.org?rev=29968&view=rev
Log:
use aq_base to prevent to aquisition

Modified:
    erp5/trunk/products/ERP5/mixin/cached_convertable.py

Modified: erp5/trunk/products/ERP5/mixin/cached_convertable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/mixin/cached_convertable.py?rev=29968&r1=29967&r2=29968&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/mixin/cached_convertable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/mixin/cached_convertable.py [utf8] Fri Oct 23 14:01:24 2009
@@ -146,7 +146,7 @@
     if self.isTempObject():
       return getattr(aq_base(self), 'temp_conversion_data', {})[cache_id]
     for cache_plugin in self._getCacheFactory().getCachePluginList():
-      document_path = getattr(self, 'original_path', self.getPath())
+      document_path = getattr(aq_base(self), 'original_path', self.getPath())
       cache_entry = cache_plugin.get(document_path, DEFAULT_CACHE_SCOPE)
       data_list = cache_entry.getValue().get(cache_id)
       if data_list:




More information about the Erp5-report mailing list