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