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

Rob Crittenden rcritten at redhat.com
Thu Feb 21 03:34:18 UTC 2008


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.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-700-type.patch
Type: text/x-patch
Size: 6626 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080220/b150523d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080220/b150523d/attachment-0001.bin>


More information about the Freeipa-devel mailing list