Mark the Zope 2 root object (OFS.Application.Application) as being the

root object from a Zope 3 point of view.
parent 6698247c
......@@ -14,7 +14,6 @@
$Id$
"""
from zope.interface import Attribute
from zope.interface import Interface
from zope.schema import Bool, BytesLine, Tuple
......@@ -28,6 +27,7 @@ from persistent.interfaces import IPersistent
from webdav.interfaces import IDAVCollection
from webdav.interfaces import IDAVResource
from zope.app.traversing.interfaces import IContainmentRoot
class IOrderedContainer(Interface):
......@@ -837,7 +837,7 @@ class IOrderedFolder(IOrderedContainer, IFolder):
# XXX: might contain non-API methods and outdated comments;
# not synced with ZopeBook API Reference;
# based on OFS.Application.Application
class IApplication(IFolder):
class IApplication(IFolder, IContainmentRoot):
"""Top-level system object"""
......
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