Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
zone = dns.zone.from_file(file, 'zone.rpz', relativize=False, check_origin=False, allow_include=False)
soa = zone['']
soa.find_rdataset(dns.rdataclass.IN, dns.rdatatype.SOA)
- # if the above call did not throw an exception the SOA has the right owner, continue
+ # if the above call did not throw an exception, the SOA has the right owner, continue
soa = zone.get_soa()
if soa.serial == serial and soa.mname == dns.name.from_text('ns.zone.rpz.'):
return # we found what we expected