2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Fix compatibility with Python < 3.10

Dataclass kw_only argument was added only in Python 3.10 but EL9 image
has only 3.9.21.
This commit is contained in:
Petr Špaček
2025-07-30 10:10:59 +02:00
parent 6ae224fc9c
commit b0c7f8b598

View File

@@ -268,7 +268,7 @@ def check_wildcard_synthesis(qname: dns.name.Name, nsec3check: "NSEC3Checker") -
nsec3check.check_extraneous_rrs()
@dataclass(kw_only=True, frozen=True)
@dataclass(frozen=True)
class NSEC3Params:
"""Common values from a single DNS response"""