Commit 2e4d9330 authored by Petr Špaček's avatar Petr Špaček

Merge branch 'dnspython200' into 'master'

dnspython 2.0.0 compatibility

See merge request !181
parents e60e2ccc 9bc28b2f
Pipeline #63946 failed with stage
in 3 minutes and 22 seconds
......@@ -248,7 +248,7 @@ class Entry:
rd = record['/data'].value.split()
if rd:
if rdtype == dns.rdatatype.DS:
rd[1] = str(dns.dnssec.algorithm_from_text(rd[1]))
rd[1] = '{}'.format(dns.dnssec.algorithm_from_text(rd[1]))
rd = dns.rdata.from_text(rr.rdclass, rr.rdtype, ' '.join(
rd), origin=dns.name.from_text(self.origin), relativize=False)
rr.add(rd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment