[Pki-devel] [PATCH] 55 If a configuration result has a single cert, cconvert it into an array #Ticket 593

Endi Sukma Dewata edewata at redhat.com
Wed Apr 24 01:37:53 UTC 2013


On 4/23/2013 5:23 PM, Abhishek Koneru wrote:
> Please review the patch with fix for issue #593.
>
> Issue:
>
>     The code expects a list of system certs in a configuration result.
> But if there is only one cert, the JSON result has just the object but
> not a list with one object.
>
> Fix:
>
>    Put the single cert in an array and continue.
>
> Both CA and clone CA installed fine and passed smoke test.

ACK. Just one thing, please add a space after the comma:

   if not isinstance(certs,types.ListType):

-- 
Endi S. Dewata




More information about the Pki-devel mailing list