third_party/dnspython: fix variable name in dnssec
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 9 Mar 2017 02:08:19 +0000 (15:08 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Fri, 23 Jun 2017 00:25:25 +0000 (02:25 +0200)
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>
third_party/dnspython/dns/dnssec.py

index dd6a27a..85ea170 100644 (file)
@@ -132,8 +132,8 @@ def _find_key(keys, rrsig):
         return None
     if isinstance(value, dns.node.Node):
         try:
-            rdataset = node.find_rdataset(dns.rdataclass.IN,
-                                          dns.rdatatype.DNSKEY)
+            rdataset = value.find_rdataset(dns.rdataclass.IN,
+                                           dns.rdatatype.DNSKEY)
         except KeyError:
             return None
     else: