From 7d02b8dbd541e2f35b325a5404b768d29aa36f48 Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Tue, 20 Dec 2016 15:00:21 -0800 Subject: [PATCH] py3fix --- certbot/ocsp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot/ocsp.py b/certbot/ocsp.py index 92dc6f872..758fb2e2f 100644 --- a/certbot/ocsp.py +++ b/certbot/ocsp.py @@ -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