[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate - viewpagetemplatefile.py:1.2.8.5
Godefroid Chapelle
gotcha@swing.be
Fri, 14 Mar 2003 05:02:12 -0500
Update of /cvs-repository/Zope3/src/zope/app/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv3822
Modified Files:
Tag: template_usage-branch
viewpagetemplatefile.py
Log Message:
added comment
=== Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py 1.2.8.4 => 1.2.8.5 ===
--- Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py:1.2.8.4 Fri Mar 14 04:46:18 2003
+++ Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py Fri Mar 14 05:02:11 2003
@@ -42,6 +42,8 @@
return namespace
def __call__(self, instance, template_usage=u'', *args, **keywords):
+ # parameter template_usage needed such as the publisher machinery
+ # can find it and extract it from the request
if not template_usage:
template_usage = self.usage
keywords["template_usage"] = template_usage