mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-06 07:42:04 -04:00
parent
fafb75ff8e
commit
f1fc2e1db4
2 changed files with 2 additions and 3 deletions
|
|
@ -315,6 +315,7 @@ def check_dnssecstatus(server, zone, keys, policy=None, view=None):
|
|||
assert f"key: {key.tag}" in response
|
||||
|
||||
|
||||
# pylint: disable=too-many-branches,too-many-locals
|
||||
def _check_signatures(signatures, covers, fqdn, keys):
|
||||
now = KeyTimingMetadata.now()
|
||||
numsigs = 0
|
||||
|
|
|
|||
|
|
@ -18,8 +18,6 @@ import shutil
|
|||
import time
|
||||
from typing import List, Optional
|
||||
|
||||
from datetime import datetime
|
||||
|
||||
import isctest
|
||||
from isctest.kasp import (
|
||||
Key,
|
||||
|
|
@ -40,7 +38,7 @@ def check_file_contents_equal(file1, file2):
|
|||
return " ".join(line.split())
|
||||
|
||||
def read_lines(file_path):
|
||||
with open(file_path, "r") as file:
|
||||
with open(file_path, "r", encoding="utf-8") as file:
|
||||
return [normalize_line(line) for line in file.readlines()]
|
||||
|
||||
lines1 = read_lines(file1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue