[Zope-Checkins]
SVN: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/PageTemplateFile.py
pt_getEngine is now handled by
Products.PageTemplates.PageTemplate.PageTemplate (used
Philipp von Weitershausen
philikon at philikon.de
Sun May 21 10:12:30 EDT 2006
Log message for revision 68213:
pt_getEngine is now handled by Products.PageTemplates.PageTemplate.PageTemplate (used
as a base class)
Changed:
U Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/PageTemplateFile.py
-=-
Modified: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/PageTemplateFile.py
===================================================================
--- Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/PageTemplateFile.py 2006-05-21 13:48:14 UTC (rev 68212)
+++ Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/PageTemplateFile.py 2006-05-21 14:12:29 UTC (rev 68213)
@@ -23,7 +23,6 @@
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 @@
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()
More information about the Zope-Checkins
mailing list