[Zope3-checkins] CVS: Zope3/src/zope/app/services - hub.py:1.26.8.1

Philipp von Weitershausen philikon at philikon.de
Sun Feb 8 09:42:44 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv18862/services

Modified Files:
      Tag: philikon-movecontent-branch
	hub.py 
Log Message:
Folder has moved. Added comment about direct dependency on IFolder.
Everywhere you find imports like these, thing of an implicit XXX comment
like this one.


=== Zope3/src/zope/app/services/hub.py 1.26 => 1.26.8.1 ===
--- Zope3/src/zope/app/services/hub.py:1.26	Tue Dec 16 17:05:40 2003
+++ Zope3/src/zope/app/services/hub.py	Sun Feb  8 09:42:44 2004
@@ -32,7 +32,7 @@
 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.folder import IFolder
 from zope.app.interfaces.event import ISubscriber
 from zope.app.interfaces.event import IObjectCreatedEvent
 from zope.app.interfaces.event import IObjectModifiedEvent
@@ -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