* minor formatting

This commit is contained in:
Matthew Planchard 2018-07-03 21:35:42 -05:00
parent 02b3802876
commit 38d51dfbce
2 changed files with 5 additions and 2 deletions

@ -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(

@ -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