pt_getEngine is now handled by Products.PageTemplates.PageTemplate.PageTemplate (used

as a base class)
parent 61a8928e
......@@ -23,7 +23,6 @@ from OFS.SimpleItem import SimpleItem
from OFS.Traversable import Traversable
from Shared.DC.Scripts.Script import Script
from Shared.DC.Scripts.Signature import FuncCode
from Products.PageTemplates.Expressions import getEngine
from Products.PageTemplates.Expressions import SecureModuleImporter
from Products.PageTemplates.PageTemplate import PageTemplate
from Products.PageTemplates.ZopePageTemplate import guess_type
......@@ -80,10 +79,6 @@ class PageTemplateFile(SimpleItem, Script, PageTemplate, Traversable):
content = open(filename).read()
self.pt_edit( content, guess_type(filename, content))
def pt_getEngine(self):
return getEngine()
def pt_getContext(self):
root = self.getPhysicalRoot()
context = self._getContext()
......
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