From: Bob Halley Date: Mon, 26 Sep 2016 15:52:43 +0000 (-0700) Subject: make pylint happy X-Git-Tag: v1.15.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7e05d32a4a65e5653375469d5927622afbfa564;p=thirdparty%2Fdnspython.git make pylint happy --- diff --git a/dns/resolver.py b/dns/resolver.py index aaf93fe2..abc431d7 100644 --- a/dns/resolver.py +++ b/dns/resolver.py @@ -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))