# HG changeset patch # User k0s # Date 1254748802 14400 # Node ID 3198742f7a86143a0657527d71da609ca0437e25 # Parent 794dac65c9b639927b37cfe5612a956c265cfc76 notes to self diff -r 794dac65c9b6 -r 3198742f7a86 bitsyblog/bitsyblog.py --- a/bitsyblog/bitsyblog.py Mon Oct 05 09:06:10 2009 -0400 +++ b/bitsyblog/bitsyblog.py Mon Oct 05 09:20:02 2009 -0400 @@ -33,6 +33,7 @@ from docutils.utils import SystemMessage from lxml import etree from markup.form import Form +from pkg_resources import resource_filename from user import FilespaceUsers from webob import Request, Response, exc @@ -52,7 +53,7 @@ 'subject': '[ %(date)s ]:', 'n_links': 5, # number of links for navigation 'site_name': 'bitsyblog', - 'help_file': None + 'help_file': None, } def __init__(self, **kw): @@ -314,7 +315,8 @@ datestamp = utils.datestamp(dates[i]) self.blog.post(user, datestamp, entries[i], 'public') - return exc.HTTPOk("%s posts blogged by bitsy" % len(entries)) + # TODO: redirect to index page + return exc.HTTPOk("%s posts blogged" % len(entries)) def error(self):