[Zope-Checkins] CVS: Zope3/lib/python/Zope/PageTemplate - PageTemplateFile.py:1.1.2.13

Jim Fulton jim@zope.com
Fri, 1 Feb 2002 19:47:50 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	PageTemplateFile.py 
Log Message:
Fixed the __call__ signature to make the publisher
pass the request.


=== Zope3/lib/python/Zope/PageTemplate/PageTemplateFile.py 1.1.2.12 => 1.1.2.13 ===
         return namespace
 
-    def __call__(self, *args, **kw):
+    def __call__(self, instance, REQUEST, *args, **kw):
         """Call a Page Template"""
         self._cook_check()
-        return ViewZPT.__call__(self, *args, **kw)
+        return ViewZPT.__call__(self, instance, REQUEST, *args, **kw)
 
     def _cook_check(self):
         if self._v_last_read and not DevelopmentMode: