[Freeipa-devel] [PATCH] 0134 support bool type in CLI list output

Alexander Bokovoy abokovoy at redhat.com
Fri Jan 17 07:32:01 UTC 2014


On Fri, 17 Jan 2014, Petr Viktorin wrote:
>On 01/16/2014 10:14 PM, Dmitri Pal wrote:
>>On 01/16/2014 12:32 PM, Alexander Bokovoy wrote:
>>>On Thu, 16 Jan 2014, Alexander Bokovoy wrote:
>>>>Hi,
>>>>
>>>>when testing changes to trustdomain-find to display status of the child
>>>>domain (Domain enabled: True/False), Steeve found that on RHEL 7 beta
>>>>Python doesn't coerce bool to string, while on Fedora 20 it does.
>>>>
>>>>To work around this issue I decided to extend encode_binary() method by
>>>>converting bool values to unicode in CLI output.
>>>>
>>>>Steeve will file a ticket shortly.
>>>Here is the bug: https://bugzilla.redhat.com/show_bug.cgi?id=1054376
>>>
>>https://fedorahosted.org/freeipa/ticket/4122
>>
>
>This looks like something I touched in commit 7ec4d58; could you 
>check if it solves the issue?
>
>https://git.fedorahosted.org/cgit/freeipa.git/commit/?id=7ec4d58bf71077da5859ab798640479955fbdd48
This commit isn't in 3.3 branch which explains why it failed on RHEL 7.

I think we should propagate your commit to 3.3 branch.

-- 
/ Alexander Bokovoy




More information about the Freeipa-devel mailing list