mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 15:52:08 -04:00
fixup
This commit is contained in:
parent
0011a3b7d8
commit
97081452e9
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class RevocationChecker(object):
|
|||
def _translate_ocsp_query(cert_path, ocsp_output, ocsp_errors):
|
||||
"""Parse openssl's weird output to work out what it means."""
|
||||
|
||||
pattern = r"{0}: (WARNING.*)good".format(cert_path)
|
||||
pattern = r"{0}: (WARNING.*)?good".format(cert_path)
|
||||
good = re.search(pattern, ocsp_output, flags=re.DOTALL)
|
||||
warning = good.group(1) if good else None
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue