mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
py3: dogtag.py: fix bytes warnings
/usr/lib/python3.5/site-packages/ipaserver/plugins/dogtag.py:1438: BytesWarning: str() on a bytes instance "parse_result:\\n%s" % (parse_func.__name__, xml_text, result)) https://pagure.io/freeipa/issue/4985 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
@@ -1434,8 +1434,9 @@ class ra(rabase.rabase, RestClient):
|
||||
self.raise_certificate_operation_error('get_parse_result_xml',
|
||||
detail=str(e))
|
||||
result = parse_func(doc)
|
||||
self.debug("%s() xml_text:\n%s\n"
|
||||
"parse_result:\n%s" % (parse_func.__name__, xml_text, result))
|
||||
self.debug(
|
||||
"%s() xml_text:\n%r\nparse_result:\n%r",
|
||||
parse_func.__name__, xml_text, result)
|
||||
return result
|
||||
|
||||
def check_request_status(self, request_id):
|
||||
|
||||
Reference in New Issue
Block a user