From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Fri, 7 Nov 2025 16:40:57 +0000 (-0500) Subject: chore: Remove unused variable `rdataset` X-Git-Tag: rec-5.4.0-alpha1~115^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc3ca2579556fde6c3b77ef72b9ed198ab365dec;p=thirdparty%2Fpdns.git chore: Remove unused variable `rdataset` Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/regression-tests.recursor-dnssec/test_RPZ.py b/regression-tests.recursor-dnssec/test_RPZ.py index ed8e89decc..d621ad6b93 100644 --- a/regression-tests.recursor-dnssec/test_RPZ.py +++ b/regression-tests.recursor-dnssec/test_RPZ.py @@ -429,7 +429,7 @@ e 3600 IN A 192.0.2.42 try: zone = dns.zone.from_file(file, 'zone.rpz', relativize=False, check_origin=False, allow_include=False) soa = zone[''] - rdataset = soa.find_rdataset(dns.rdataclass.IN, dns.rdatatype.SOA) + 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 soa = zone.get_soa() if soa.serial == serial and soa.mname == dns.name.from_text('ns.zone.rpz.'):