~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to turbosimpletal/zptsupport.py

  • Committer: Michael Hudson
  • Date: 2008-06-13 05:33:39 UTC
  • mto: This revision was merged to the branch mainline in revision 164.
  • Revision ID: michael.hudson@canonical.com-20080613053339-w1in3qyd8gq3e8zg
more progress

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
4
5
import os
5
6
import pkg_resources
6
7
 
7
8
from simpletal import simpleTAL, simpleTALES
8
9
 
 
10
log = logging.getLogger("turbogears.zptsupport")
 
11
 
9
12
 
10
13
_zpt_cache = {}
11
14
def zpt(tfile):