diff --git a/product/ERP5Type/Core/CacheFactory.py b/product/ERP5Type/Core/CacheFactory.py index af88533baa5c80a10ee0e54ef708ed0d18d498ca..9b5f6f56a71347766e9bf578bfd2cd5340a0a9c1 100644 --- a/product/ERP5Type/Core/CacheFactory.py +++ b/product/ERP5Type/Core/CacheFactory.py @@ -67,7 +67,7 @@ class CacheFactory(XMLObject): """ get ordered list of installed cache plugins in ZODB """ cache_plugins = self.objectValues(self.allowed_types) cache_plugins = map(None, cache_plugins) - cache_plugins.sort(lambda x,y: cmp(x.int_index, y.int_index)) + cache_plugins.sort(lambda x,y: cmp(x.getIntIndex(0), y.getIntIndex(0))) return cache_plugins security.declareProtected(Permissions.AccessContentsInformation, 'getRamCacheFactory')