diff options
author | Bob Halley <halley@dnspython.org> | 2020-12-21 11:43:19 -0800 |
---|---|---|
committer | Bob Halley <halley@dnspython.org> | 2020-12-21 11:43:19 -0800 |
commit | 960a48bbc05a3d554eb0a768c7f583dbbc8ae205 (patch) | |
tree | ed4702108a08c1dda72edd556d4d35ec24bb7cc5 /dns/resolver.py | |
parent | d4a7bd69f2d678f04134556e1587633d39c74a00 (diff) | |
download | dnspython-resolve_chaining.tar.gz |
Change ChainingResult "rrset" to "answer"; fix typo.resolve_chaining
Diffstat (limited to 'dns/resolver.py')
-rw-r--r-- | dns/resolver.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dns/resolver.py b/dns/resolver.py index d04386f..7bdfd91 100644 --- a/dns/resolver.py +++ b/dns/resolver.py @@ -212,9 +212,9 @@ class Answer: self.port = port self.chaining_result = response.resolve_chaining() # Copy some attributes out of chaining_result for backwards - # compatibilty and convenience. + # compatibility and convenience. self.canonical_name = self.chaining_result.canonical_name - self.rrset = self.chaining_result.rrset + self.rrset = self.chaining_result.answer self.expiration = time.time() + self.chaining_result.minimum_ttl def __getattr__(self, attr): # pragma: no cover |