[Zope3-checkins] CVS: Zope3/src/zope/app/services - hub.py:1.29
Philipp von Weitershausen
philikon at philikon.de
Tue Feb 24 11:51:41 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv27718/src/zope/app/services
Modified Files:
hub.py
Log Message:
Folder, its interfaces, and its browser views have moved to
zope.app.folder. That includes IRootFolder and the rootFolder
factory.
=== Zope3/src/zope/app/services/hub.py 1.28 => 1.29 ===
--- Zope3/src/zope/app/services/hub.py:1.28 Fri Feb 20 17:02:31 2004
+++ Zope3/src/zope/app/services/hub.py Tue Feb 24 11:51:10 2004
@@ -32,7 +32,6 @@
from zope.app.interfaces.container import IObjectRemovedEvent
from zope.app.interfaces.container import IObjectMovedEvent
from zope.app.interfaces.container import IObjectAddedEvent
-from zope.app.interfaces.content.folder import IFolder
from zope.app.interfaces.event import ISubscriber
from zope.app.interfaces.event import IObjectCreatedEvent
from zope.app.interfaces.event import IObjectModifiedEvent
@@ -44,6 +43,7 @@
from zope.app.interfaces.services.hub import IObjectRemovedHubEvent
from zope.app.interfaces.services.service import ISimpleService
from zope.app.interfaces.traversing import ITraverser, ITraversable
+from zope.app.folder.interfaces import IFolder
from zope.app.container.contained import ObjectAddedEvent
from zope.interface import implements
from zope.app.services.event import ServiceSubscriberEventChannel
@@ -522,6 +522,8 @@
def _registerTree(self, object, hub):
self._registerObject(object, hub)
# XXX Policy decision: only traverse into folders
+ # XXX Ugh! direct dependency on folders
+ # Can this be changed to IContentContainer?!?
if not IFolder.isImplementedBy(object):
return
# Register subobjects
More information about the Zope3-Checkins
mailing list