issue_server_cert: avoid application of str to bytes

Part of: https://pagure.io/freeipa/issue/7131

Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Fraser Tweedale 2017-09-08 16:01:03 +10:00 committed by Stanislav Laznicka
parent 05acd0965f
commit f3097e570c

View File

@ -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(