[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate -
engine.py:1.25
Philipp von Weitershausen
philikon at philikon.de
Wed Mar 3 21:08:31 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv21517
Modified Files:
engine.py
Log Message:
Rename the function that generates a new engine, so we can import both,
the engine and the function.
=== Zope3/src/zope/app/pagetemplate/engine.py 1.24 => 1.25 ===
--- Zope3/src/zope/app/pagetemplate/engine.py:1.24 Tue Mar 2 10:50:03 2004
+++ Zope3/src/zope/app/pagetemplate/engine.py Wed Mar 3 21:08:31 2004
@@ -137,7 +137,7 @@
return context
-def Engine():
+def _Engine():
e = ZopeEngine()
for pt in ZopePathExpr._default_type_names:
e.registerType(pt, ZopePathExpr)
@@ -148,7 +148,7 @@
e.registerBaseName('modules', ProxyFactory(sys.modules))
return e
-Engine = Engine()
+Engine = _Engine()
class AppPT:
More information about the Zope3-Checkins
mailing list