~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to turbosimpletal/zptsupport.py

  • Committer: Michael Hudson
  • Date: 2008-06-15 06:43:31 UTC
  • mto: This revision was merged to the branch mainline in revision 164.
  • Revision ID: michael.hudson@canonical.com-20080615064331-9ex9xf7ttzky1xco
basic functionality complete

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):