# HG changeset patch # User Jeff Hammel # Date 1606234770 28800 # Node ID 0dc878f8a15f19d3ea5c393cc116e1484a7dc796 # Parent 97096204574c6c47047aaaf8896b9eb4827c8bde whitespace diff -r 97096204574c -r 0dc878f8a15f hgpaste/factory.py --- 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"""