Mercurial > hg > bitsyblog
comparison bitsyblog/factory.py @ 108:e2f7dccbac26
py3
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 13:33:39 -0800 |
parents | 67e01fc5e360 |
children |
comparison
equal
deleted
inserted
replaced
107:c5b9c9ba42eb | 108:e2f7dccbac26 |
---|---|
1 """ | 1 """ |
2 factories for bistyblog | 2 factories for bistyblog |
3 """ | 3 """ |
4 | 4 |
5 from bitsyauth import BitsyAuth | 5 from bitsyauth import BitsyAuth |
6 from bitsyblog import BitsyBlog, BitsierBlog | |
7 from getpass import getpass | 6 from getpass import getpass |
8 from paste.httpexceptions import HTTPExceptionHandler | 7 from paste.httpexceptions import HTTPExceptionHandler |
8 from .bitsyblog import BitsyBlog, BitsierBlog | |
9 | |
9 | 10 |
10 def get_args(app_conf, app=BitsyBlog): | 11 def get_args(app_conf, app=BitsyBlog): |
11 """return arguments for bitsyblog and its handlers""" | 12 """return arguments for bitsyblog and its handlers""" |
12 | 13 |
13 # accepted configuration keys, e.g. 'bitsyblog.file_dir' | 14 # accepted configuration keys, e.g. 'bitsyblog.file_dir' |