view.py: fix a docstring
authorGreg Price <price@mit.edu>
Sun, 20 Dec 2009 03:00:05 +0000 (22:00 -0500)
committerGreg Price <price@mit.edu>
Sun, 20 Dec 2009 03:00:05 +0000 (22:00 -0500)
The first line of a docstring should be self-contained, followed by a
blank line if there is any more text.  Just like a commit message.

svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2721

code/view.py

index 1b586ef..4135e24 100644 (file)
@@ -10,8 +10,7 @@ from invirt.config import structs as config
 from webcommon import State
 
 class MakoHandler(cherrypy.dispatch.LateParamPageHandler):
-    """Callable which processes a dictionary, returning the rendered
-    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