[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate - viewpagetemplatefile.py:1.9

Godefroid Chapelle cvs-admin at zope.org
Sun Dec 7 05:05:23 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv5496/app/pagetemplate

Modified Files:
	viewpagetemplatefile.py 
Log Message:
merge gotcha-usage-branch

this finishes support for usage :

top-level variable in page templates
initialized from ZCML

main goal is to use a unique template per skin

now, I should walk all templates that relies on dialog_macros.pt
and convert them to template.pt 




=== Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py:1.8	Thu Jul 31 12:48:38 2003
+++ Zope3/src/zope/app/pagetemplate/viewpagetemplatefile.py	Sun Dec  7 05:04:52 2003
@@ -46,6 +46,7 @@
     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 or getattr(instance, 'usage', u'')
         keywords["template_usage"] = template_usage




More information about the Zope3-Checkins mailing list