[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/xmlrpc - __init__.py:1.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Mar 19 15:27:02 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/publisher/xmlrpc
In directory cvs.zope.org:/tmp/cvs-serv11576/src/zope/app/publisher/xmlrpc

Modified Files:
	__init__.py 
Log Message:


Updated to reflect changes in Publisher API.




=== Zope3/src/zope/app/publisher/xmlrpc/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/publisher/xmlrpc/__init__.py:1.2	Wed Dec 25 09:13:11 2002
+++ Zope3/src/zope/app/publisher/xmlrpc/__init__.py	Fri Mar 19 15:26:31 2004
@@ -1,2 +1,30 @@
+##############################################################################
 #
-# This file is necessary to make this directory a package.
+# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""XML-RPC Publisher Components
+
+This module contains the MethodPublisher, and XMLRPCView.
+
+$Id$
+"""
+from zope.interface import implements
+from zope.app.publisher.interfaces.xmlrpc import IXMLRPCView
+
+class XMLRPCView(object):
+    """A base XML-RPC view that can be used as mix-in for XML-RPC views.""" 
+
+    implements(IXMLRPCView)
+
+    def __init__(self, context, request):
+        self.context = context
+        self.request = request




More information about the Zope3-Checkins mailing list