[Kimchi-devel] [PATCH] issue #330: Properly log the error message when login fails

Crístian Viana vianac at linux.vnet.ibm.com
Thu Mar 6 15:04:29 UTC 2014


Am 06-03-2014 11:53, schrieb Aline Manera:
> What about always convert to string before to unicode?
>
> if not isinstance(value, unicode):
>    args[key] = unicode(*str*(value), 'utf-8')
>
> That way we guarantee everything will be unicode in the end.
I agree. Regardless of the the parameter type, everything can be 
converted to string (and subsequently to unicode).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140306/76d26cf0/attachment.html>


More information about the Kimchi-devel mailing list