fix imports

parent 61b342d3
......@@ -16,7 +16,7 @@ from respdiff import cli
from respdiff.dataformat import (
DiffReport, Disagreements, DisagreementsCounter, FieldLabel, QID)
from respdiff.dbhelper import DNSRepliesFactory, key2qid, LMDB, MetaDatabase, ResolverID
from match import compare
from respdiff.match import compare
lmdb = None
......
......@@ -7,8 +7,8 @@ from typing import Dict, Mapping, Optional, Sequence, Tuple, Union # noqa
from tabulate import tabulate
import cfg
from dataformat import DataMismatch, DiffReport, FieldLabel
from .cfg import read_cfg
from .dataformat import DataMismatch, DiffReport, FieldLabel
Number = Union[int, float]
......@@ -27,7 +27,7 @@ def setup_logging(level: int = LOGGING_LEVEL) -> None:
def add_arg_config(parser: ArgumentParser) -> None:
parser.add_argument('-c', '--config', type=cfg.read_cfg,
parser.add_argument('-c', '--config', type=read_cfg,
default=CONFIG_FILENAME, dest='cfg',
help='config file (default: {})'.format(CONFIG_FILENAME))
......
......@@ -22,7 +22,7 @@ from typing import Any, Dict, List, Mapping, Sequence, Tuple # noqa: type hints
import dns.inet
import dns.message
from dbhelper import DNSReply, DNSRepliesFactory, RepliesBlob, ResolverID, QKey, WireFormat
from .dbhelper import DNSReply, DNSRepliesFactory, RepliesBlob, ResolverID, QKey, WireFormat
IP = str
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment