Clarify the operation of MakoHandler
authorQuentin Smith <quentin@mit.edu>
Thu, 29 Oct 2009 07:18:05 +0000 (03:18 -0400)
committerQuentin Smith <quentin@mit.edu>
Thu, 29 Oct 2009 07:18:05 +0000 (03:18 -0400)
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2713

code/view.py

index 91c375a..1b586ef 100644 (file)
@@ -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