]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
make pylint happy
authorBob Halley <halley@dnspython.org>
Mon, 26 Sep 2016 15:52:43 +0000 (08:52 -0700)
committerBob Halley <halley@dnspython.org>
Mon, 26 Sep 2016 15:52:43 +0000 (08:52 -0700)
dns/resolver.py

index aaf93fe26effb1177e06a69282a7f0eae8ce91c6..abc431d7f3f4ef9d3c038a930d12718a52dfdc34 100644 (file)
@@ -917,6 +917,7 @@ class Resolver(object):
         all_nxdomain = True
         nxdomain_responses = {}
         start = time.time()
+        _qname = None # make pylint happy
         for _qname in qnames_to_try:
             if self.cache:
                 answer = self.cache.get((_qname, rdtype, rdclass))