[Zope3-checkins] CVS: Zope3/src/zope/app/services - hub.py:1.25
    Christian Zagrodnick 
    cvs-admin at zope.org
       
    Sat Dec  6 05:00:13 EST 2003
    
    
  
Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv27946/src/zope/app/services
Modified Files:
	hub.py 
Log Message:
added the path argument to iterObjectRegistrations() to be coherent with 
iterRegistrations
=== Zope3/src/zope/app/services/hub.py 1.24 => 1.25 ===
--- Zope3/src/zope/app/services/hub.py:1.24	Tue Nov  4 22:08:16 2003
+++ Zope3/src/zope/app/services/hub.py	Sat Dec  6 05:00:12 2003
@@ -365,10 +365,10 @@
                 min=pathslash, max=pathslash[:-1]+u'0', excludemax=True):
                 yield pathslash[:-1], hubId
 
-    def iterObjectRegistrations(self):
+    def iterObjectRegistrations(self, path=u'/'):
         """See interface IHubEventChannel"""
         traverser = getAdapter(self, ITraverser)
-        for path, hubId in self.iterRegistrations():
+        for path, hubId in self.iterRegistrations(path):
             yield (path, hubId, self._safeTraverse(path, traverser))
 
     ############################################################
    
    
More information about the Zope3-Checkins
mailing list