8
8
from simpletal import simpleTAL, simpleTALES
10
10
log = logging.getLogger("turbogears.zptsupport")
15
15
tinstance = _zpt_cache.get(tfile)
18
17
tinstance = _zpt_cache[tfile] = TemplateWrapper(
23
21
class TemplateWrapper(object):
25
def __init__(self, template, filename, stat):
30
27
def expand(self, **info):
31
28
context = simpleTALES.Context(allowPythonPath=1)