From 38d51dfbcefb3cd952f254a3c4c022ccdd74e10b Mon Sep 17 00:00:00 2001 From: Matthew Planchard Date: Tue, 3 Jul 2018 21:35:42 -0500 Subject: [PATCH] * minor formatting --- pypiserver/__main__.py | 5 ++++- pypiserver/_app.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pypiserver/__main__.py b/pypiserver/__main__.py index f19bd17..a0b48fb 100644 --- a/pypiserver/__main__.py +++ b/pypiserver/__main__.py @@ -51,7 +51,10 @@ def main(argv=None): if (not config.authenticate and config.password_file != '.' or config.authenticate and config.password_file == '.'): - auth_err = "When auth-ops-list is empty (-a=.), password-file (-P=%r) must also be empty ('.')!" + auth_err = ( + "When auth-ops-list is empty (-a=.), password-file (-P=%r) " + "must also be empty ('.')!" + ) sys.exit(auth_err % config.password_file) init_logging( diff --git a/pypiserver/_app.py b/pypiserver/_app.py index 6b3860b..09af7b6 100644 --- a/pypiserver/_app.py +++ b/pypiserver/_app.py @@ -84,7 +84,7 @@ def create_app(config, packages): app.packages = packages class auth(object): - """Apply authentication for the decorated method & action""" + """Apply authentication for the decorated method & action.""" def __init__(self, action): self.action = action