From: Quentin Smith Date: Thu, 29 Oct 2009 07:18:05 +0000 (-0400) Subject: Clarify the operation of MakoHandler X-Git-Tag: 0.1.0^2~22 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/6ed742bfddd372f0424eb61ce45bec1a2d737433?ds=sidebyside Clarify the operation of MakoHandler svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2713 --- diff --git a/code/view.py b/code/view.py index 91c375a..1b586ef 100644 --- a/code/view.py +++ b/code/view.py @@ -10,7 +10,8 @@ from invirt.config import structs as config from webcommon import State class MakoHandler(cherrypy.dispatch.LateParamPageHandler): - """Callable which sets response.body.""" + """Callable which processes a dictionary, returning the rendered + body.""" def __init__(self, template, next_handler, content_type='text/html; charset=utf-8'): self.template = template