Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
1ff8cc24
Commit
1ff8cc24
authored
Oct 29, 2014
by
Martin Häcker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improving fix as per comment on pull request
parent
568afdcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/Products/PageTemplates/PageTemplate.py
src/Products/PageTemplates/PageTemplate.py
+3
-4
No files found.
src/Products/PageTemplates/PageTemplate.py
View file @
1ff8cc24
...
...
@@ -25,10 +25,9 @@ from Products.PageTemplates.Expressions import getEngine
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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment