[Freeipa-devel] [PATCH 0043] Remove NULLS from constants.py

Nathaniel McCallum npmccallum at redhat.com
Fri Feb 21 16:42:45 UTC 2014


In the parameters system, we have been checking for a positive list of
values which get converted to None. The problem is that this method can
in some cases throw warnings when type coercion doesn't work
(particularly, string to unicode). Instead, any values that evaluate to
False that are neither numeric nor boolean should be converted to None.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-npmccallum-0043-Remove-NULLS-from-constants.py.patch
Type: text/x-patch
Size: 4672 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140221/f3820722/attachment.bin>


More information about the Freeipa-devel mailing list