mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
third_party/dnspython: fix variable name in dnssec
This appears to have been fixed upstream (along with significant other changes) Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
parent
822c4b9852
commit
414b7e9399
4
third_party/dnspython/dns/dnssec.py
vendored
4
third_party/dnspython/dns/dnssec.py
vendored
@ -132,8 +132,8 @@ def _find_key(keys, rrsig):
|
|||||||
return None
|
return None
|
||||||
if isinstance(value, dns.node.Node):
|
if isinstance(value, dns.node.Node):
|
||||||
try:
|
try:
|
||||||
rdataset = node.find_rdataset(dns.rdataclass.IN,
|
rdataset = value.find_rdataset(dns.rdataclass.IN,
|
||||||
dns.rdatatype.DNSKEY)
|
dns.rdatatype.DNSKEY)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user