Commit 9fc92426 authored by Fred Drake's avatar Fred Drake

ensure instance variable is initialized (same as Zope 3 version)

parent 3e71cd77
...@@ -160,6 +160,7 @@ class TALInterpreter: ...@@ -160,6 +160,7 @@ class TALInterpreter:
self.macros = macros self.macros = macros
self.engine = engine # Execution engine (aka context) self.engine = engine # Execution engine (aka context)
self.Default = engine.getDefault() self.Default = engine.getDefault()
self._currentTag = ""
self._stream_stack = [stream or sys.stdout] self._stream_stack = [stream or sys.stdout]
self.popStream() self.popStream()
self.debug = debug self.debug = debug
......
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