SVN: CMF/branches/mj-cmf14-compat-branch/CMFSetup/tool.py Work around issue with specific Z27 deployments.
Tres Seaver <[email protected]> Fri, 21 Mar 2008 13:44:48 -0400 (EDT)
| Newsgroups | gmane.comp.web.zope.cmf.cvs |
|---|---|
| Message-ID | <20080321174448.3DAA8203C1B__27070.2604241253$1206121591$gmane$org@mail.zope.org> |
Log message for revision 84841:
Work around issue with specific Z27 deployments.
Changed:
U CMF/branches/mj-cmf14-compat-branch/CMFSetup/tool.py
-=-
Modified: CMF/branches/mj-cmf14-compat-branch/CMFSetup/tool.py
===================================================================
--- CMF/branches/mj-cmf14-compat-branch/CMFSetup/tool.py 2008-03-21 16:58:43 UTC (rev 84840)
+++ CMF/branches/mj-cmf14-compat-branch/CMFSetup/tool.py 2008-03-21 17:44:47 UTC (rev 84841)
@@ -24,6 +24,7 @@
from Globals import InitializeClass
from OFS.Folder import Folder
from Products.PageTemplates.PageTemplateFile import PageTemplateFile
+from zope.interface.declarations import Declaration
from Products.CMFCore.utils import UniqueObject
from Products.CMFCore.utils import getToolByName
@@ -119,7 +120,7 @@
""" Profile-based site configuration manager.
"""
- __implements__ = ( ISetupTool, ) + Folder.__implements__
+ __implements__ = Declaration(ISetupTool) + Folder.__implements__
id = 'portal_setup'
meta_type = 'Portal Setup Tool'