Commit e41582b3 authored by Hanno Schlichting's avatar Hanno Schlichting

Revert c122683, zope.pagetemplate got corrected

parent 0890d01d
...@@ -19,8 +19,6 @@ Bugs Fixed ...@@ -19,8 +19,6 @@ Bugs Fixed
Features Added Features Added
++++++++++++++ ++++++++++++++
- Adjust to new zope.pagetemplate macros lookup.
- Optimized the `OFS.Traversable.getPhysicalPath` method to avoid excessive - Optimized the `OFS.Traversable.getPhysicalPath` method to avoid excessive
amounts of method calls. amounts of method calls.
......
...@@ -87,7 +87,7 @@ setup(name='Zope2', ...@@ -87,7 +87,7 @@ setup(name='Zope2',
'zope.interface', 'zope.interface',
'zope.lifecycleevent', 'zope.lifecycleevent',
'zope.location', 'zope.location',
'zope.pagetemplate >= 3.6.1', 'zope.pagetemplate',
'zope.processlifetime', 'zope.processlifetime',
'zope.proxy', 'zope.proxy',
'zope.ptresource', 'zope.ptresource',
......
...@@ -59,7 +59,7 @@ class PageTemplate(ExtensionClass.Base, ...@@ -59,7 +59,7 @@ class PageTemplate(ExtensionClass.Base,
'Page Template %s has errors: %s' % ( 'Page Template %s has errors: %s' % (
self.id, self._v_errors self.id, self._v_errors
)) ))
return self._v_program.macros return self._v_macros
# these methods are reimplemented or duplicated here because of # these methods are reimplemented or duplicated here because of
# different call signatures in the Zope 2 world # 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