Commit 586156ff authored by Maurits van Rees's avatar Maurits van Rees

In PageTemplate.pt_errors accept the check_macro_expansion argument.

This is added for compatibility with zope.pagetemplate 4.0.0.
The argument is ignored.
See LP #732972.
parent 8f5f8c15
...@@ -8,6 +8,10 @@ http://docs.zope.org/zope2/releases/. ...@@ -8,6 +8,10 @@ http://docs.zope.org/zope2/releases/.
2.13.20 (unreleased) 2.13.20 (unreleased)
-------------------- --------------------
- In PageTemplate.pt_errors accept the check_macro_expansion argument.
This is added for compatibility with zope.pagetemplate 4.0.0. The
argument is ignored. See LP #732972.
- Updated distributions: - Updated distributions:
- Products.ZCTextIndex = 2.13.4 - Products.ZCTextIndex = 2.13.4
......
...@@ -79,7 +79,10 @@ class PageTemplate(ExtensionClass.Base, ...@@ -79,7 +79,10 @@ class PageTemplate(ExtensionClass.Base,
showtal=showtal) showtal=showtal)
def pt_errors(self, namespace={}): def pt_errors(self, namespace={}, check_macro_expansion=None):
# The check_macro_expansion argument is added for
# compatibility with zope.pagetemplate 4.0.0. The argument is
# ignored. See LP #732972.
self._cook_check() self._cook_check()
err = self._v_errors err = self._v_errors
if err: if err:
......
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