# HG changeset patch # User k0s # Date 1257054674 14400 # Node ID 2a43e43a7e4d98c84925e6ef10e6c5bb18ee3035 # Parent 89f5158ef191e05579c8ef4d75e188ad8d4ffca9 comment cleanup diff -r 89f5158ef191 -r 2a43e43a7e4d bitsyblog/bitsyblog.py --- a/bitsyblog/bitsyblog.py Sun Nov 01 01:38:57 2009 -0400 +++ b/bitsyblog/bitsyblog.py Sun Nov 01 01:51:14 2009 -0400 @@ -114,6 +114,7 @@ return res def logo(self, request): + """link to the logo""" _logo = 'bitsyblog.png' # TODO: should go to self.logo logo = os.path.join(self.file_dir, _logo) if os.path.exists(logo): @@ -338,7 +339,6 @@ datestamp = utils.datestamp(dates[i]) self.blog.post(user, datestamp, entries[i], 'public') - # TODO: redirect to index page return exc.HTTPOk("%s posts blogged" % len(entries)) @@ -400,7 +400,7 @@ name = None return name, path - ### methods + ### methods for linking and URLs def link(self, request, path='', permanant=False): if isinstance(path, basestring): @@ -515,7 +515,7 @@ # get the blog return self.blog.entries(user, allowed, *path) - ### methods that write HTML + ### methods for markup def stylesheets(self, request): user = getattr(request, 'user', None) @@ -723,7 +723,7 @@ print >> retval, '' return retval.getvalue() - ### forms and accompanying display + ### forms def form_post(self, request, user):