[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services -
hub.py:1.7
Christian Zagrodnick
cvs-admin at zope.org
Sat Dec 6 05:00:13 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv27946/src/zope/app/interfaces/services
Modified Files:
hub.py
Log Message:
added the path argument to iterObjectRegistrations() to be coherent with
iterRegistrations
=== Zope3/src/zope/app/interfaces/services/hub.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/interfaces/services/hub.py:1.6 Fri Jul 11 01:50:41 2003
+++ Zope3/src/zope/app/interfaces/services/hub.py Sat Dec 6 05:00:11 2003
@@ -35,8 +35,9 @@
method is needed for bootstrapping the index with the appropriate objects.
"""
- def iterObjectRegistrations():
- """Returns an iterator of the object registrations.
+ def iterObjectRegistrations(path=u'/'):
+ """Returns an iterator of the object registrations at and within the
+ given path.
An object registration is a tuple (location, hubid, wrapped_object).
"""
More information about the Zope3-Checkins
mailing list