pep8 letsencrypt

This commit is contained in:
Jakub Warmuz
2015-09-06 09:20:11 +00:00
parent 89c99a1f34
commit 83185e5553
26 changed files with 59 additions and 48 deletions
+3 -2
View File
@@ -244,7 +244,7 @@ class AuthHandler(object):
"""
for authzr_challb in authzr.body.challenges:
if type(authzr_challb.chall) is type(achall.challb.chall):
if type(authzr_challb.chall) is type(achall.challb.chall): # noqa
return authzr_challb
raise errors.AuthorizationError(
"Target challenge not found in authorization resource")
@@ -512,7 +512,8 @@ _ERROR_HELP = {
"to date TLS configuration that allows the server to communicate with "
"the Let's Encrypt client.",
"unauthorized": _ERROR_HELP_COMMON,
"unknownHost": _ERROR_HELP_COMMON,}
"unknownHost": _ERROR_HELP_COMMON,
}
def _report_failed_challs(failed_achalls):