[ZPT] CVS: Packages/TAL - TALGenerator.py:1.47
guido@digicool.com
guido@digicool.com
Fri, 15 Jun 2001 10:15:01 -0400 (EDT)
Update of /cvs-repository/Packages/TAL
In directory korak.digicool.com:/tmp/cvs-serv14818
Modified Files:
TALGenerator.py
Log Message:
Don't import DummyEngine by default -- it is only needed when no
expressionCompiler is passed in. Import it when needed.
--- Updated File TALGenerator.py in package Packages/TAL --
--- TALGenerator.py 2001/06/13 03:39:05 1.46
+++ TALGenerator.py 2001/06/15 14:15:01 1.47
@@ -91,12 +91,12 @@
import cgi
from TALDefs import *
-from DummyEngine import DummyEngine
class TALGenerator:
def __init__(self, expressionCompiler=None, xml=1):
if not expressionCompiler:
+ from DummyEngine import DummyEngine
expressionCompiler = DummyEngine()
self.expressionCompiler = expressionCompiler
self.program = []