[Freeipa-devel] [PATCH] fix DNS discovery in config

Nathan Kinder nkinder at redhat.com
Wed Jun 4 21:53:28 UTC 2008


Rob Crittenden wrote:
> Under some conditions rl may not have been initialized so the config 
> may error out with:
>
> UnboundLocalError: "local variable 'rl' referenced before assignment"
>
> This is caught and ignored but the result is that the records in DNS 
> may not be used at all. Initializing rl to zero fixes this.
>
> I also convert the server list into a set to make each entry unique 
> (and back to a list because that is what we are supposed to return)
ack.
>
> rob
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3254 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080604/ecb5a3c3/attachment.bin>


More information about the Freeipa-devel mailing list