2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +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.

(cherry picked from commit b0c7f8b598)
This commit is contained in:
Petr Špaček
2025-07-30 10:10:59 +02:00
parent fd71407c49
commit a2daff3cb6

View File

@@ -273,7 +273,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"""