]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
retry_servfail -> self.retry_servfail
authorBob Halley <halley@dnspython.org>
Wed, 17 Jul 2013 07:23:26 +0000 (08:23 +0100)
committerBob Halley <halley@dnspython.org>
Wed, 17 Jul 2013 07:23:26 +0000 (08:23 +0100)
dns/resolver.py

index df81fe70ca8eb5cfa09250ae421d86e778038dc9..2d28f7012ad3c0ef44463506a865e2b7b58ac913 100644 (file)
@@ -876,7 +876,7 @@ class Resolver(object):
                     # rcode in it.  Remove the server from the mix if
                     # the rcode isn't SERVFAIL.
                     #
-                    if rcode != dns.rcode.SERVFAIL or not retry_servfail:
+                    if rcode != dns.rcode.SERVFAIL or not self.retry_servfail:
                         nameservers.remove(nameserver)
                     response = None
                 if not response is None: