Commit e41582b3 authored by Hanno Schlichting's avatar Hanno Schlichting

Revert c122683, zope.pagetemplate got corrected

parent 0890d01d
......@@ -19,8 +19,6 @@ Bugs Fixed
Features Added
++++++++++++++
- Adjust to new zope.pagetemplate macros lookup.
- Optimized the `OFS.Traversable.getPhysicalPath` method to avoid excessive
amounts of method calls.
......
......@@ -87,7 +87,7 @@ setup(name='Zope2',
'zope.interface',
'zope.lifecycleevent',
'zope.location',
'zope.pagetemplate >= 3.6.1',
'zope.pagetemplate',
'zope.processlifetime',
'zope.proxy',
'zope.ptresource',
......
......@@ -59,7 +59,7 @@ class PageTemplate(ExtensionClass.Base,
'Page Template %s has errors: %s' % (
self.id, self._v_errors
))
return self._v_program.macros
return self._v_macros
# these methods are reimplemented or duplicated here because of
# different call signatures in the Zope 2 world
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment