def render_cheetah_tmpl(tmplstr, context, tmplpath=None):
 from Cheetah.Template import Template
 return str(Template(tmplstr, searchList=[context]))

def render_cheetah_tmpl ( tmplstr , context , tmplpath = None ) : from Cheetah . Template import Template return str ( Template ( tmplstr , searchList = [ context ] ) )
render a cheetah template .