[Freeipa-devel] [PATCH] Make ldap2.add_entry proof to None values, because python-ldap hates'em.

Pavel Zuna pzuna at redhat.com
Mon Aug 31 10:03:31 UTC 2009


Rob Crittenden wrote:
> Pavel Zuna wrote:
>> python-ldap seems to hate None values when adding an entry and raises 
>> an exception instead ignoring them, so we need to filter them ourselves.
>>
>> Pavel
> 
> Couldn't updates contain None as well?
> 
> rob

Updates can and it's valid. None is used in update_entry for deleting attributes.

Pavel




More information about the Freeipa-devel mailing list