Commit f791e0f8 authored by Evan Simpson's avatar Evan Simpson

Define _context_class

parent 0cefd1ee
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
An implementation of a generic TALES engine An implementation of a generic TALES engine
""" """
__version__='$Revision: 1.11 $'[11:-2] __version__='$Revision: 1.12 $'[11:-2]
import re, sys, ZTUtils import re, sys, ZTUtils
from MultiMapping import MultiMapping from MultiMapping import MultiMapping
...@@ -226,6 +226,8 @@ class Context: ...@@ -226,6 +226,8 @@ class Context:
use to evaluate compiled expressions. use to evaluate compiled expressions.
''' '''
_context_class = SafeMapping
def __init__(self, engine, contexts): def __init__(self, engine, contexts):
self._engine = engine self._engine = engine
self.contexts = contexts self.contexts = contexts
......
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