URL: https://github.com/freeipa/freeipa/pull/1064
Author: stlaz
 Title: #1064: [Backport][ipa-4-6] issue_server_cert: avoid application of str 
to bytes
Action: opened

PR body:
"""
This PR was opened automatically because PR #1050 was pushed to master and 
backport to ipa-4-6 is required.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1064/head:pr1064
git checkout pr1064
From dec3417f2c268abf475b5a0f02c503a16e71d1d0 Mon Sep 17 00:00:00 2001
From: Fraser Tweedale <ftwee...@redhat.com>
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
---
 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 1b9085edbb..dbea3bab15 100644
--- a/ipaserver/install/certs.py
+++ b/ipaserver/install/certs.py
@@ -437,7 +437,7 @@ def issue_server_cert(self, certreq_fname, cert_fname):
             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(
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to