[Zope3-checkins] CVS: Zope3/lib/python/Zope/Publisher - mapply.py:1.2.34.1

Jim Fulton jim@zope.com
Thu, 19 Dec 2002 12:26:06 -0500


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

Modified Files:
      Tag: AdapterAndView-branch
	mapply.py 
Log Message:
Changed to call object directly without using apply.


=== Zope3/lib/python/Zope/Publisher/mapply.py 1.2 => 1.2.34.1 ===
--- Zope3/lib/python/Zope/Publisher/mapply.py:1.2	Mon Jun 10 19:29:31 2002
+++ Zope3/lib/python/Zope/Publisher/mapply.py	Thu Dec 19 12:26:05 2002
@@ -58,7 +58,7 @@
     
     return unwrapped, wrapperCount
 
-def mapply(object, positional=(), request={}, call=apply):
+def mapply(object, positional=(), request={}):
     __traceback_info__ = object
 
     # we need deep access for intrspection. Waaa.
@@ -103,4 +103,4 @@
         args.append(v)
 
     args = tuple(args)
-    return call(object, args)
+    return object(*args)