Commit cf18ff56 authored by Guido van Rossum's avatar Guido van Rossum

Don't import DummyEngine by default -- it is only needed when no

expressionCompiler is passed in.  Import it when needed.
parent fb9c105b
......@@ -91,12 +91,12 @@ import re
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 = []
......
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