[Zope-Checkins] CVS: Zope3/lib/python/Zope/StartUp - RequestFactoryRegistry.py:1.1.2.3 ServerTypeRegistry.py:1.1.2.3

Guido van Rossum guido@python.org
Tue, 4 Jun 2002 14:59:29 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/StartUp
In directory cvs.zope.org:/tmp/cvs-serv1575/lib/python/Zope/StartUp

Modified Files:
      Tag: Zope-3x-branch
	RequestFactoryRegistry.py ServerTypeRegistry.py 
Log Message:
Whoever (not Jeremy :-) checks in files from Windows with the CRLF
markers still left in, please stop doing this.  It screws up the
checkouts for everyone else (including Windows users who use the
command line cvs tools).  Hint: some wincvs do this.



=== Zope3/lib/python/Zope/StartUp/RequestFactoryRegistry.py 1.1.2.2 => 1.1.2.3 ===
 # 
 ##############################################################################
-"""
-
-$Id$
-"""
-
-
-from Zope.App.Formulator.SimpleRegistry import SimpleRegistry
-from Zope.App.Formulator.ISimpleRegistry import ISimpleRegistry
-from RequestFactory import IRequestFactory 
-
-class IRequestFactoryRegistry(ISimpleRegistry):
-    """
-    The RequestFactory Registry manages a list of all the fields
-    available in Zope. A registry is useful at this point, since
-    fields can be initialized and registered by many places.
-
-    Note that it does not matter whether we have classes or instances as
-    fields. If the fields are instances, they must implement
-    IInstanceFactory.
-    """
-    pass
-
-
-class RequestFactoryRegistry(SimpleRegistry):
-    """ """
-
-    __implements__ =  (IRequestFactoryRegistry,)
-
-
-
-RequestFactoryRegistry = RequestFactoryRegistry(IRequestFactory)
-registerRequestFactory = RequestFactoryRegistry.register
-getRequestFactory = RequestFactoryRegistry.get
+"""
+
+$Id$
+"""
+
+
+from Zope.App.Formulator.SimpleRegistry import SimpleRegistry
+from Zope.App.Formulator.ISimpleRegistry import ISimpleRegistry
+from RequestFactory import IRequestFactory 
+
+class IRequestFactoryRegistry(ISimpleRegistry):
+    """
+    The RequestFactory Registry manages a list of all the fields
+    available in Zope. A registry is useful at this point, since
+    fields can be initialized and registered by many places.
+
+    Note that it does not matter whether we have classes or instances as
+    fields. If the fields are instances, they must implement
+    IInstanceFactory.
+    """
+    pass
+
+
+class RequestFactoryRegistry(SimpleRegistry):
+    """ """
+
+    __implements__ =  (IRequestFactoryRegistry,)
+
+
+
+RequestFactoryRegistry = RequestFactoryRegistry(IRequestFactory)
+registerRequestFactory = RequestFactoryRegistry.register
+getRequestFactory = RequestFactoryRegistry.get


=== Zope3/lib/python/Zope/StartUp/ServerTypeRegistry.py 1.1.2.2 => 1.1.2.3 ===
 # 
 ##############################################################################
-"""
-
-$Id$
-"""
-
-
-from Zope.App.Formulator.SimpleRegistry import SimpleRegistry
-from Zope.App.Formulator.ISimpleRegistry import ISimpleRegistry
-from ServerType import IServerType 
-
-class IServerTypeRegistry(ISimpleRegistry):
-    """
-    The ServerType Registry manages a list of all the fields
-    available in Zope. A registry is useful at this point, since
-    fields can be initialized and registered by many places.
-
-    Note that it does not matter whether we have classes or instances as
-    fields. If the fields are instances, they must implement
-    IInstanceFactory.
-    """
-    pass
-
-
-class ServerTypeRegistry(SimpleRegistry):
-    """ """
-
-    __implements__ =  (IServerTypeRegistry,)
-
-
-
-ServerTypeRegistry = ServerTypeRegistry(IServerType)
-registerServerType = ServerTypeRegistry.register
-getServerType = ServerTypeRegistry.get
+"""
+
+$Id$
+"""
+
+
+from Zope.App.Formulator.SimpleRegistry import SimpleRegistry
+from Zope.App.Formulator.ISimpleRegistry import ISimpleRegistry
+from ServerType import IServerType 
+
+class IServerTypeRegistry(ISimpleRegistry):
+    """
+    The ServerType Registry manages a list of all the fields
+    available in Zope. A registry is useful at this point, since
+    fields can be initialized and registered by many places.
+
+    Note that it does not matter whether we have classes or instances as
+    fields. If the fields are instances, they must implement
+    IInstanceFactory.
+    """
+    pass
+
+
+class ServerTypeRegistry(SimpleRegistry):
+    """ """
+
+    __implements__ =  (IServerTypeRegistry,)
+
+
+
+ServerTypeRegistry = ServerTypeRegistry(IServerType)
+registerServerType = ServerTypeRegistry.register
+getServerType = ServerTypeRegistry.get