Commit e21bbded authored by Nicolas Dumazet's avatar Nicolas Dumazet

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
parent 1761194e
...@@ -34,6 +34,9 @@ from DateTime import DateTime ...@@ -34,6 +34,9 @@ from DateTime import DateTime
from zLOG import LOG from zLOG import LOG
from Products.ZSQLCatalog.ZSQLCatalog import ZCatalog
from Products.CMFCore.CatalogTool import CatalogTool as CMFCoreCatalogTool
class InterpolationTool (UniqueObject): class InterpolationTool (UniqueObject):
""" """
The InterpolationTool centralises interpolation The InterpolationTool centralises interpolation
...@@ -71,6 +74,9 @@ class InterpolationTool (UniqueObject): ...@@ -71,6 +74,9 @@ class InterpolationTool (UniqueObject):
# Explicite Inheritance # Explicite Inheritance
_listAllowedRolesAndUsers = CMFCoreCatalogTool._listAllowedRolesAndUsers _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) InitializeClass(InterpolationTool)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment