Log message for revision 122683:
  Adjust to new zope.pagetemplate macros lookup.
  

Changed:
  U   Zope/trunk/doc/CHANGES.rst
  U   Zope/trunk/setup.py
  U   Zope/trunk/src/Products/PageTemplates/PageTemplate.py

-=-
Modified: Zope/trunk/doc/CHANGES.rst
===================================================================
--- Zope/trunk/doc/CHANGES.rst  2011-08-23 11:09:18 UTC (rev 122682)
+++ Zope/trunk/doc/CHANGES.rst  2011-08-23 11:14:07 UTC (rev 122683)
@@ -19,6 +19,8 @@
 Features Added
 ++++++++++++++
 
+- Adjust to new zope.pagetemplate macros lookup.
+
 - Optimized the `OFS.Traversable.getPhysicalPath` method to avoid excessive
   amounts of method calls.
 

Modified: Zope/trunk/setup.py
===================================================================
--- Zope/trunk/setup.py 2011-08-23 11:09:18 UTC (rev 122682)
+++ Zope/trunk/setup.py 2011-08-23 11:14:07 UTC (rev 122683)
@@ -87,7 +87,7 @@
       'zope.interface',
       'zope.lifecycleevent',
       'zope.location',
-      'zope.pagetemplate',
+      'zope.pagetemplate >= 3.6.1',
       'zope.processlifetime',
       'zope.proxy',
       'zope.ptresource',

Modified: Zope/trunk/src/Products/PageTemplates/PageTemplate.py
===================================================================
--- Zope/trunk/src/Products/PageTemplates/PageTemplate.py       2011-08-23 
11:09:18 UTC (rev 122682)
+++ Zope/trunk/src/Products/PageTemplates/PageTemplate.py       2011-08-23 
11:14:07 UTC (rev 122683)
@@ -59,7 +59,7 @@
                 'Page Template %s has errors: %s' % (
                 self.id, self._v_errors
                 ))
-        return self._v_macros
+        return self._v_program.macros
 
     # these methods are reimplemented or duplicated here because of
     # different call signatures in the Zope 2 world

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to