Mercurial > hg > bitsyblog
comparison bitsyblog/factory.py @ 18:c293bcbe6e03
removing apparently obselescent comment
author | k0s <k0scist@gmail.com> |
---|---|
date | Sun, 25 Oct 2009 21:19:13 -0400 |
parents | e3823be6a423 |
children | 695e59e5a4a7 dc729d807cd5 |
comparison
equal
deleted
inserted
replaced
17:e5cbc53cacf8 | 18:c293bcbe6e03 |
---|---|
13 | 13 |
14 app = BitsyBlog(**args) | 14 app = BitsyBlog(**args) |
15 secret = app_conf.get('secret', 'secret') | 15 secret = app_conf.get('secret', 'secret') |
16 return BitsyAuth(HTTPExceptionHandler(app), global_conf, app.passwords, app.newuser, 'bitsyblog', secret) | 16 return BitsyAuth(HTTPExceptionHandler(app), global_conf, app.passwords, app.newuser, 'bitsyblog', secret) |
17 | 17 |
18 # TODO: use wsgifilter.proxyapp.DebugHeaders to debug the headers apache | |
19 # doesn't like | |
20 | |
21 def bitsierfactory(global_conf, **app_conf): | 18 def bitsierfactory(global_conf, **app_conf): |
22 """make single-user bitsyblog""" | 19 """make single-user bitsyblog""" |
23 config = [ 'file_dir', 'date_format', 'subject', 'n_links', 'help_file' ] | 20 config = [ 'file_dir', 'date_format', 'subject', 'n_links', 'help_file' ] |
24 key_str = 'bitsyblog.%s' | 21 key_str = 'bitsyblog.%s' |
25 args = dict([ (key, app_conf[ key_str % key]) for key in config | 22 args = dict([ (key, app_conf[ key_str % key]) for key in config |