[Erp5-report] r38435 nicolas.dumazet - /erp5/trunk/products/ERP5/Tool/InterpolationTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Sep 17 08:58:45 CEST 2010


Author: nicolas.dumazet
Date: Fri Sep 17 08:58:41 2010
New Revision: 38435

URL: http://svn.erp5.org?rev=38435&view=rev
Log:
What is this InterpolationTool? at the very least, fix it so it
does not break when someone tries to import it.

Modified:
    erp5/trunk/products/ERP5/Tool/InterpolationTool.py

Modified: erp5/trunk/products/ERP5/Tool/InterpolationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/InterpolationTool.py?rev=38435&r1=38434&r2=38435&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/InterpolationTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Tool/InterpolationTool.py [utf8] Fri Sep 17 08:58:41 2010
@@ -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)




More information about the Erp5-report mailing list