[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services -
registration.py:1.9
Jim Fulton
jim at zope.com
Sun Sep 21 13:32:28 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv14337/src/zope/app/interfaces/services
Modified Files:
registration.py
Log Message:
Added a convencience function for adding registrations to registration
managers. This is mainly used for tests.
=== Zope3/src/zope/app/interfaces/services/registration.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/interfaces/services/registration.py:1.8 Thu Aug 21 18:04:39 2003
+++ Zope3/src/zope/app/interfaces/services/registration.py Sun Sep 21 13:32:28 2003
@@ -397,6 +397,14 @@
"""Manage Registrations
"""
+ def addRegistration(registration):
+ """Add a registration
+
+ The registration name is chosen automatically. The chosen name
+ is returned.
+ """
+
+
class INoRegistrationManagerError(Interface):
"""No registration manager error
"""
More information about the Zope3-Checkins
mailing list