[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Publisher/XMLRPC - metaConfigure.py:1.2.6.3

Rakesh Naidu rnaidu@zeomega.com
Mon, 21 Oct 2002 11:04:02 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Publisher/XMLRPC
In directory cvs.zope.org:/tmp/cvs-serv5753/Zope3-Bangalore-TTW-Branch/lib/python/Zope/App/Publisher/XMLRPC

Modified Files:
      Tag: Zope3-Bangalore-TTW-Branch
	metaConfigure.py 
Log Message:
config files update


=== Zope3/lib/python/Zope/App/Publisher/XMLRPC/metaConfigure.py 1.2.6.2 => 1.2.6.3 ===
--- Zope3/lib/python/Zope/App/Publisher/XMLRPC/metaConfigure.py:1.2.6.2	Mon Oct 21 10:55:56 2002
+++ Zope3/lib/python/Zope/App/Publisher/XMLRPC/metaConfigure.py	Mon Oct 21 11:04:01 2002
@@ -153,24 +153,13 @@
 
             factory[-1] =  proxyView
 
-            actions = [
-                Action(
-                      discriminator = ('view', self.for_, self.name, self.type),
-                      callable = handler,
-                      args = ('Views', 'provideView', self.for_, self.name,
+        return [
+            Action(
+                discriminator = ('view', self.for_, self.name, self.type),
+                callable = handler,
+                args = ('Views', 'provideView', self.for_, self.name,
                         self.type, factory),
-                      )
-                      ]
-            if for_ is not None:
-                actions.append
-                (
-                 Action(
-                      discriminator = None,
-                      callable = handler,
-                      args = ('Interfaces', 'provideInterface', for_.__module__+'.'+for_.__name__,for_)
-                       )
-                    )
+                )
+            ]
 
-        return actions        
-