Mercurial > hg > hgpaste
changeset 7:0dc878f8a15f
whitespace
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 24 Nov 2020 08:19:30 -0800 |
parents | 97096204574c |
children | 49e931b5c8e2 |
files | hgpaste/factory.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgpaste/factory.py Tue Nov 24 08:17:07 2020 -0800 +++ b/hgpaste/factory.py Tue Nov 24 08:19:30 2020 -0800 @@ -1,11 +1,13 @@ __all__ = ['wsgi_app', 'make_app'] + def wsgi_app(config_file): """wsgi application""" from mercurial import demandimport; demandimport.enable() from mercurial.hgweb.hgwebdir_mod import hgwebdir application = hgwebdir(config_file) - return application + return application + def make_app(global_conf, config_file): """make an app for paster"""