[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/site/service.py Jim reported that the ServiceRegistration signature has changed. Fixed

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Feb 16 09:59:32 EST 2005


Log message for revision 29160:
  Jim reported that the ServiceRegistration signature has changed. Fixed 
  that for BBB.
  

Changed:
  U   Zope3/trunk/src/zope/app/site/service.py

-=-
Modified: Zope3/trunk/src/zope/app/site/service.py
===================================================================
--- Zope3/trunk/src/zope/app/site/service.py	2005-02-16 14:58:50 UTC (rev 29159)
+++ Zope3/trunk/src/zope/app/site/service.py	2005-02-16 14:59:32 UTC (rev 29160)
@@ -44,6 +44,9 @@
 class ServiceRegistration(UtilityRegistration):
     zope.interface.implements(IServiceRegistration)
 
+    def __init__(self, name, path, context=None):
+        super(ServiceRegistration, self).__init__(name, IService, path)
+
 zope.deprecation.deprecated(
     ('ServiceManager', 'ServiceRegistration'),
     'The concept of services has been removed. Use utilities instead. '



More information about the Zope3-Checkins mailing list