Cosmetics: Don't use % for logging

This commit is contained in:
Unrud
2016-08-10 23:42:48 +02:00
parent 9192a7751b
commit e2b87d145f
4 changed files with 25 additions and 25 deletions

View File

@ -63,7 +63,7 @@ from importlib import import_module
def load(configuration, logger):
"""Load the authentication manager chosen in configuration."""
auth_type = configuration.get("auth", "type")
logger.debug("Authentication type is %s" % auth_type)
logger.debug("Authentication type is %s", auth_type)
if auth_type == "None":
return lambda user, password: True
elif auth_type == "htpasswd":