mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +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:
@@ -273,7 +273,7 @@ def check_wildcard_synthesis(qname: dns.name.Name, nsec3check: "NSEC3Checker") -
|
|||||||
nsec3check.check_extraneous_rrs()
|
nsec3check.check_extraneous_rrs()
|
||||||
|
|
||||||
|
|
||||||
@dataclass(kw_only=True, frozen=True)
|
@dataclass(frozen=True)
|
||||||
class NSEC3Params:
|
class NSEC3Params:
|
||||||
"""Common values from a single DNS response"""
|
"""Common values from a single DNS response"""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user