From 43aec948e57a5a3fd224ccebbd9a93f424d82e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 13 Apr 2010 08:16:34 +0000 Subject: [PATCH] fix a mistake in r34481, we have to import CacheFactory from its "real" location, because propertysheet repository is not initialized when this file is imported git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34484 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Core/CacheFactory.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/product/ERP5Type/Core/CacheFactory.py b/product/ERP5Type/Core/CacheFactory.py index da7a4f436f..ea60e96529 100644 --- a/product/ERP5Type/Core/CacheFactory.py +++ b/product/ERP5Type/Core/CacheFactory.py @@ -30,6 +30,8 @@ from AccessControl import ClassSecurityInfo from Products.ERP5Type import Permissions +from Products.ERP5Type.PropertySheet.CacheFactory import CacheFactory + from Products.ERP5Type import PropertySheet from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.Cache import CachingMethod @@ -56,7 +58,7 @@ class CacheFactory(XMLObject): property_sheets = ( PropertySheet.Base , PropertySheet.SimpleItem , PropertySheet.Folder - , PropertySheet.CacheFactory + , CacheFactory ) -- 2.30.9