[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/xmlrpc - metaconfigure.py:1.17

Suresh Babu Eddala sbabu at zeomega.com
Fri Mar 5 10:55:52 EST 2004


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

Modified Files:
	metaconfigure.py 
Log Message:


removed local interface service stuff, it uses global utility service.




=== Zope3/src/zope/app/publisher/xmlrpc/metaconfigure.py 1.16 => 1.17 ===
--- Zope3/src/zope/app/publisher/xmlrpc/metaconfigure.py:1.16	Fri Nov 21 12:12:24 2003
+++ Zope3/src/zope/app/publisher/xmlrpc/metaconfigure.py	Fri Mar  5 10:55:52 2004
@@ -18,10 +18,10 @@
 
 from zope.component.servicenames import Presentation
 from zope.app.component.metaconfigure import handler
-from zope.app.services.servicenames import Interfaces
 from zope.configuration.exceptions import ConfigurationError
 from zope.publisher.interfaces.xmlrpc import IXMLRPCRequest
 from zope.security.checker import CheckerPublic, Checker
+from zope.app.component.interface import provideInterface
 
 
 def view(_context, name, class_=None, for_=None, layer=None,
@@ -79,11 +79,10 @@
     if for_ is not None:
         _context.action(
             discriminator = None,
-            callable = handler,
-            args = (Interfaces, 'provideInterface',
-                    for_.__module__+'.'+for_.getName(), for_)
+            callable = provideInterface,
+            args = (for_.__module__+'.'+for_.getName(), for_)
             )
-
+        
 
 def defaultView(_context, name, for_=None):
     """Declare the view having the passed name as the default view."""




More information about the Zope3-Checkins mailing list