Skip to content

Commit

Permalink
Improving fix as per comment on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
dwt committed Oct 29, 2014
1 parent 568afdc commit 1ff8cc2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Products/PageTemplates/PageTemplate.py
Expand Up @@ -25,10 +25,9 @@
try:
from zope.pagetemplate.pagetemplate import _error_start
except ImportError:
if hasattr(zope.pagetemplate.pagetemplate.PageTemplate, '_error_start'):
_error_start = zope.pagetemplate.pagetemplate.PageTemplate._error_start
else:
_error_start = '<!-- Page Template Diagnostics'
_error_start = getattr(
zope.pagetemplate.pagetemplate.PageTemplate, '_error_start',
'<!-- Page Template Diagnostics')


class PageTemplate(ExtensionClass.Base,
Expand Down

0 comments on commit 1ff8cc2

Please sign in to comment.