This commit is contained in:
Peter Eckersley 2016-12-20 15:00:21 -08:00
parent fcf7387c3d
commit 7d02b8dbd5

View file

@ -86,7 +86,7 @@ class RevocationChecker(object):
"-header"] + self.host_args(host)
try:
output, err = util.run_script(cmd, log=logging.debug)
except errors.SubprocessError, e:
except errors.SubprocessError as e:
logger.info("OCSP check failed for %s (are we offline?)", cert_path)
logger.debug("Command was:\n%s\nError was:\n%s", " ".join(cmd), e)
return False