]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
chore: Remove unused variable `rdataset`
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 7 Nov 2025 16:40:57 +0000 (11:40 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 7 Nov 2025 17:11:48 +0000 (12:11 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
regression-tests.recursor-dnssec/test_RPZ.py

index ed8e89decc9ec3d6fd94a8bd8ac25b60f086e2e2..d621ad6b9394f808514c01fa8e0b40e37bcce9b8 100644 (file)
@@ -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.'):