[Zope3-checkins] CVS: Zope3/src/zope/component - service.py:1.7

Jim Fulton cvs-admin at zope.org
Wed Dec 3 00:42:14 EST 2003


Update of /cvs-repository/Zope3/src/zope/component
In directory cvs.zope.org:/tmp/cvs-serv19321/src/zope/component

Modified Files:
	service.py 
Log Message:
Added the "Services" service.  This allows the service manager to
serve itself. :)


=== Zope3/src/zope/component/service.py 1.6 => 1.7 ===
--- Zope3/src/zope/component/service.py:1.6	Fri Nov 21 12:09:29 2003
+++ Zope3/src/zope/component/service.py	Wed Dec  3 00:41:43 2003
@@ -61,8 +61,8 @@
         self.__module__ = module
 
     def _clear(self):
-        self.__defs     = {}
-        self.__services = {}
+        self.__defs     = {'Services': IServiceService}
+        self.__services = {'Services': self}
 
     def __reduce__(self):
         # Global service managers are pickled as global objects




More information about the Zope3-Checkins mailing list