[SSSD] [PATCH] Fix python HBAC bindings for python <= 2.4

Jakub Hrozek jhrozek at redhat.com
Wed Jul 13 09:56:53 UTC 2011


On 07/13/2011 11:09 AM, Alexander Bokovoy wrote:
> Now, there is one concern -- admittedly, my fault as I haven't mention it:
> str(true) == 'True'
> str(false) == 'False'
> 
> so they should be acceptable as well. You have them explicitly denied in 
> the unit tests. Do we have any particular reason not to allow them?
> 
> This is minor comment, other than that patches look good!

No reason, my previous incarnation of the patch actually had
strcasecmp(str, "true") -- would that be preferable? Or would it be
better to only explicitly allow for instance true/True/TRUE?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110713/201d6a30/attachment.sig>


More information about the sssd-devel mailing list