~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to turbosimpletal/zptsupport.py

  • Committer: Michael Hudson
  • Date: 2008-06-16 07:27:16 UTC
  • mto: This revision was merged to the branch mainline in revision 164.
  • Revision ID: michael.hudson@canonical.com-20080616072716-8lt2qbxgvoizmr9w
more data less code

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
"TurboGears support for Zope Page Templates"
2
2
 
3
3
import StringIO
4
 
import logging
5
4
import os
6
5
import pkg_resources
7
6
 
8
7
from simpletal import simpleTAL, simpleTALES
9
8
 
10
 
log = logging.getLogger("turbogears.zptsupport")
11
 
 
12
9
 
13
10
_zpt_cache = {}
14
11
def zpt(tfile):