[Freeipa-devel] [PATCH 0246] baseldap: Fix undefined variable reference in

Tomas Babej tbabej at redhat.com
Thu Jul 24 10:56:21 UTC 2014


On 07/24/2014 12:35 PM, Tomas Babej wrote:
> Hi,
>
> on receiving a PublicError we fail with InternalError since msg is not
> defined.
>
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

I also realized there's no need for the nested try-blocks, so added some
refactoring to the fix, which makes the code much more simple.



-- 
Tomas Babej
Associate Software Engineer | Red Hat | Identity Management
RHCE | Brno Site | IRC: tbabej | freeipa.org 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140724/3742813e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-tbabej-0246-2-baseldap-Fix-undefined-variable-reference-in-LDAPAdd.patch
Type: text/x-patch
Size: 3915 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140724/3742813e/attachment.bin>


More information about the Freeipa-devel mailing list