[Freeipa-devel] [PATCH] check for both str and unicode types

Simo Sorce ssorce at redhat.com
Thu Feb 21 14:09:04 UTC 2008


On Wed, 2008-02-20 at 22:34 -0500, Rob Crittenden wrote:
> This is broken due to the i18n patch. string values may now be of type 
> unicode.
> 
> There are places where we have a multi-valued attribute that needs to be 
> a python list but if there is one value it defaults to being a string or 
> unicode type.
> 
> Added a helper function that checks for both.

Ack, looks strange tho.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list