summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
aa1a40f)
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2699
cherrypy.request.template = t = lookup.get_template(filename)
cherrypy.request.handler = MakoHandler(t, cherrypy.request.handler, content_type)
cherrypy.request.template = t = lookup.get_template(filename)
cherrypy.request.handler = MakoHandler(t, cherrypy.request.handler, content_type)
-main = MakoLoader()
-cherrypy.tools.mako = cherrypy.Tool('on_start_resource', main)
+cherrypy.tools.mako = cherrypy.Tool('on_start_resource', MakoLoader())
def revertStandardError():
"""Move stderr to stdout, and return the contents of the old stderr."""
def revertStandardError():
"""Move stderr to stdout, and return the contents of the old stderr."""