From e21bbded0ec86335430b0e6cb74cca2554cb29e4 Mon Sep 17 00:00:00 2001
From: Nicolas Dumazet <nicolas.dumazet@nexedi.com>
Date: Fri, 17 Sep 2010 06:58:41 +0000
Subject: [PATCH] What is this InterpolationTool? at the very least, fix it so
 it does not break when someone tries to import it.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38435 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Tool/InterpolationTool.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/Tool/InterpolationTool.py b/product/ERP5/Tool/InterpolationTool.py
index 88ba59f815..617a7d28b6 100644
--- a/product/ERP5/Tool/InterpolationTool.py
+++ b/product/ERP5/Tool/InterpolationTool.py
@@ -34,6 +34,9 @@ from DateTime import DateTime
 
 from zLOG import LOG
 
+from Products.ZSQLCatalog.ZSQLCatalog import ZCatalog
+from Products.CMFCore.CatalogTool import CatalogTool as CMFCoreCatalogTool
+
 class InterpolationTool (UniqueObject):
     """
     The InterpolationTool centralises interpolation
@@ -71,6 +74,9 @@ class InterpolationTool (UniqueObject):
 
     # Explicite Inheritance
     _listAllowedRolesAndUsers = CMFCoreCatalogTool._listAllowedRolesAndUsers
-    __url = CMFCoreCatalogTool.__url
+
+    # XXX does not work fix me
+    # AttributeError: type object 'CatalogTool' has no attribute '_InterpolationTool__url'
+    #__url = CMFCoreCatalogTool.__url
 
 InitializeClass(InterpolationTool)
-- 
2.30.9