[Freeipa-devel] [PATCH 0177] Fix adding (warning) messages on client side

Martin Basti mbasti at redhat.com
Tue Dec 16 11:30:29 UTC 2014


On 11/12/14 12:13, Martin Basti wrote:
> On 11/12/14 11:19, Jan Cholasta wrote:
>> Hi,
>>
>> Dne 9.12.2014 v 16:07 Martin Basti napsal(a):
>>> Ticket: https://fedorahosted.org/freeipa/ticket/4793
>>>
>>> I'm able to reproduce it only in one nose test.
>>
>> Which test?
> If you apply my patch 170 and add a random forwardzone, then DNS root 
> zone tests failed.
>>
>>>
>>> Patch attached.
>>
>> What about:
>>
>>     result['messages'] = result.get('messages', ()) + 
>> (message.to_dict(),)
>>
>> (My point is, don't support both lists and tuples, pick just one.)
>>
>> Honza
>>
> This is question for framework guru (you?), I tried to preserve format 
> unchanged.
> Shouldn't be all values in lists in server part?
>
> Martin^2
>
As was requested, I convert tuple to list instead handling both types.

Updated patch attached.



-- 
Martin Basti

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mbasti-0177.2-Fix-add-message-on-client-side.patch
Type: text/x-patch
Size: 2907 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20141216/f839cce1/attachment.bin>


More information about the Freeipa-devel mailing list