[Freeipa-devel] [freeipa PR#430][opened] [py3] tests_xmlrpc: do not call str() on bytes

MartinBasti freeipa-github-notification at redhat.com
Wed Feb 1 21:48:13 UTC 2017


   URL: https://github.com/freeipa/freeipa/pull/430
Author: MartinBasti
 Title: #430: [py3] tests_xmlrpc: do not call str() on bytes
Action: opened

PR body:
"""
Calling str() on bytes causes undesired side effect: it adds prefix "b"
to the result of conversion. The method decode() should be used instead.

https://fedorahosted.org/freeipa/ticket/4985
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/430/head:pr430
git checkout pr430
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-430.patch
Type: text/x-diff
Size: 2151 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20170201/7dfbb809/attachment.bin>


More information about the Freeipa-devel mailing list