[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate - viewpagetemplatefile.py:1.2.8.4
Godefroid Chapelle
gotcha@swing.be
Fri, 14 Mar 2003 04:46:50 -0500
Update of /cvs-repository/Zope3/src/zope/app/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv1082
Modified Files:
Tag: template_usage-branch
viewpagetemplatefile.py
Log Message:
more tests
=== Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py 1.2.8.3 => 1.2.8.4 ===
--- Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py:1.2.8.3 Tue Feb 25 18:21:33 2003
+++ Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py Fri Mar 14 04:46:18 2003
@@ -44,10 +44,10 @@
def __call__(self, instance, template_usage=u'', *args, **keywords):
if not template_usage:
template_usage = self.usage
+ keywords["template_usage"] = template_usage
namespace = self.pt_getContext(
request=instance.request,
- instance=instance, template_usage=template_usage,
- args=args, options=keywords)
+ instance=instance, args=args, options=keywords)
return self.pt_render(namespace)
def __get__(self, instance, type=None):