[Checkins] SVN: z3c.pt/trunk/ The template symbol is already set by the template base class.

Malthe Borch mborch at gmail.com
Wed Apr 8 03:07:37 EDT 2009


Log message for revision 98999:
  The template symbol is already set by the template base class.

Changed:
  U   z3c.pt/trunk/CHANGES.txt
  U   z3c.pt/trunk/src/z3c/pt/pagetemplate.py

-=-
Modified: z3c.pt/trunk/CHANGES.txt
===================================================================
--- z3c.pt/trunk/CHANGES.txt	2009-04-08 06:47:06 UTC (rev 98998)
+++ z3c.pt/trunk/CHANGES.txt	2009-04-08 07:07:36 UTC (rev 98999)
@@ -3,6 +3,8 @@
 
 In the next release
 
+- The ``template`` symbol is already set by the template base class. [malthe]
+
 - Set Content-Type header, for backwards compatibility with
   zope.app.pagetemplate. [sidnei]
 

Modified: z3c.pt/trunk/src/z3c/pt/pagetemplate.py
===================================================================
--- z3c.pt/trunk/src/z3c/pt/pagetemplate.py	2009-04-08 06:47:06 UTC (rev 98998)
+++ z3c.pt/trunk/src/z3c/pt/pagetemplate.py	2009-04-08 07:07:36 UTC (rev 98999)
@@ -115,7 +115,6 @@
         return dict(
             options=kwargs,
             request=request,
-            template=self,
             path=evaluate_path,
             exists=evaluate_exists,
             nothing=None,
@@ -193,7 +192,6 @@
             view=view,
             context=context,
             request=request,
-            template=self,
             path=evaluate_path,
             exists=evaluate_exists,
             options=kwargs,



More information about the Checkins mailing list