From f3097e570cb0dd7e192e5b36277c765e7bd096a2 Mon Sep 17 00:00:00 2001 From: Fraser Tweedale Date: Fri, 8 Sep 2017 16:01:03 +1000 Subject: [PATCH] issue_server_cert: avoid application of str to bytes Part of: https://pagure.io/freeipa/issue/7131 Reviewed-By: Stanislav Laznicka --- ipaserver/install/certs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaserver/install/certs.py b/ipaserver/install/certs.py index 1b9085edb..dbea3bab1 100644 --- a/ipaserver/install/certs.py +++ b/ipaserver/install/certs.py @@ -437,7 +437,7 @@ class CertDB(object): client_keyfile=paths.RA_AGENT_KEY, **params) http_status, _http_headers, http_body = result - logger.debug("CA answer: %s", http_body) + logger.debug("CA answer: %r", http_body) if http_status != 200: raise CertificateOperationError(