1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00

Merge pull request #18 from nueces/master

Add support for password_file option in paster app.
This commit is contained in:
Ralf Schmitt 2012-08-15 22:27:39 -07:00
commit 538c74761a

@ -36,4 +36,5 @@ def paste_app_factory(global_config, **local_conf):
root = os.path.expanduser(root)
redirect_to_fallback = local_conf.get("redirect_to_fallback", "").lower() in ("yes", "on", "1")
fallback_url = local_conf.get("fallback_url")
return app(root=root, redirect_to_fallback=redirect_to_fallback, fallback_url=fallback_url)
password_file = local_conf.get("password_file")
return app(root=root, redirect_to_fallback=redirect_to_fallback, fallback_url=fallback_url, password_file=password_file)