[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/XMLRPC - Publication.py:1.1.2.4

Shane Hathaway shane@cvs.zope.org
Fri, 12 Apr 2002 17:31:23 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/XMLRPC
In directory cvs.zope.org:/tmp/cvs-serv20835/lib/python/Zope/App/ZopePublication/XMLRPC

Modified Files:
      Tag: Zope-3x-branch
	Publication.py 
Log Message:
Merged Zope3-Server-Branch.


=== Zope3/lib/python/Zope/App/ZopePublication/XMLRPC/Publication.py 1.1.2.3 => 1.1.2.4 ===
 # 
 ##############################################################################
-"""
-
+"""
+
 $Id$
-"""
+"""
+
+from Zope.App.ZopePublication.HTTP.Publication import ZopeHTTPPublication
+from Zope.ComponentArchitecture import getRequestView
+from Zope.ContextWrapper import Wrapper
+from Zope.App.Security.SecurityManagement import getSecurityManager
+
+
+class XMLRPCPublication(ZopeHTTPPublication):
+    """XML-RPC publication handling.
+
+       There is nothing special here right now.
+    """
+        
+
+# For now, have a factory that returns a singleton
+class XMLRPCPublicationFactory:
+
+    def __init__(self, db):
+        self.__pub = XMLRPCPublication(db)
 
-from Zope.App.ZopePublication.HTTP.Publication import ZopeHTTPPublication
-from Zope.ComponentArchitecture import getRequestView
-from Zope.ContextWrapper import Wrapper
-from Zope.App.Security.SecurityManagement import getSecurityManager
-
-
-class XMLRPCPublication(ZopeHTTPPublication):
-    """XML-RPC publication handling.
-
-       There is nothing special here right now.
-    """
-        
-
-# For now, have a factory that returns a singleton
-class XMLRPCPublicationFactory:
-
-    def __init__(self, db):
-        self.__pub = XMLRPCPublication(db)
-
-    def __call__(self):
-        return self.__pub
+    def __call__(self):
+        return self.__pub