[Freeipa-devel] [PATCHES] UUID Plugin: Code fixes and cleanups

Adam Young ayoung at redhat.com
Tue Oct 26 00:47:40 UTC 2010


On 10/25/2010 06:28 PM, Simo Sorce wrote:
> These are a few minor fixes and cleanups I split in multiple patches
> for easier review.
>
> 1. makes sure we reset the generate flag at every loop, so that we do
> not risk a false positive if multiple UUIDs are generated on an entry.
>
> 2. makes unlocks safer by tracking when we need to unlock and doing so
> in the cleanup code. This is necessary as later code will be introduced
> that may error out in the middle of the main loop.
>
> 3. tidy up some code and remove one nesting level (hopefully making
> stuff slightly more readable). This is possible thanks to (2).
>
> Simo.
>
>    
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
ACK
ACK
ACK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101025/a7d8da72/attachment.htm>


More information about the Freeipa-devel mailing list