changeset 86:777c47bae0ab

whitespace
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 17 Nov 2011 13:26:24 -0800
parents f7c6fbce7c9b
children 67dd8e0aa6da
files bitsyblog/bitsyblog.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/bitsyblog/bitsyblog.py	Thu Nov 17 13:19:45 2011 -0800
+++ b/bitsyblog/bitsyblog.py	Thu Nov 17 13:26:24 2011 -0800
@@ -562,7 +562,6 @@
         else:
             stylesheets = [(self.link(request, "css/site.css"), "Default")]
         return stylesheets
-        
 
     def site_nav(self, request):
         """returns HTML for site navigation"""
@@ -650,9 +649,10 @@
         except UnicodeDecodeError:
             # TODO: better error handling
             raise
-            
+
     def text_blog(self, blog):
-        
+        """raw text format of blog"""
+
         if len(blog) == 1:
             return blog[0].body.strip() + '\n'
 
@@ -661,15 +661,15 @@
             print >> buffer, '[ %s ]\n' % entry.date.strftime(self.date_format)
             print >> buffer, entry.body.strip() + '\n'
         return buffer.getvalue()
-                           
+
     def restructuredText(self, string):
-        """renders a string with restructured text"""            
+        """renders a string with restructured text"""
         body = utils.ReST2html(string)
         retval = '<div class="blog-body">%s</div>' % body
         return retval
 
 #         # XXX this should be reenabled if 'system-message's again appear in the markup
-#         try:            
+#         try:
 #             foo = etree.fromstring(retval)
 #         except etree.XMLSyntaxError:
 #             return retval