From d7abce9269527b8ccdcaa8e319163540a32ea24d Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Tue, 9 Mar 2021 07:52:22 -0800 Subject: [PATCH] Add missing dns.rdtypes.util imports [Issue #648]. --- dns/rdtypes/ANY/URI.py | 1 + dns/rdtypes/IN/NAPTR.py | 1 + dns/rdtypes/IN/PX.py | 1 + dns/rdtypes/IN/SRV.py | 1 + dns/rdtypes/svcbbase.py | 1 + 5 files changed, 5 insertions(+) diff --git a/dns/rdtypes/ANY/URI.py b/dns/rdtypes/ANY/URI.py index ccbd2ce4b..524fa1ba6 100644 --- a/dns/rdtypes/ANY/URI.py +++ b/dns/rdtypes/ANY/URI.py @@ -21,6 +21,7 @@ import dns.exception import dns.immutable import dns.rdata +import dns.rdtypes.util import dns.name diff --git a/dns/rdtypes/IN/NAPTR.py b/dns/rdtypes/IN/NAPTR.py index 1f072f89e..b107974d2 100644 --- a/dns/rdtypes/IN/NAPTR.py +++ b/dns/rdtypes/IN/NAPTR.py @@ -21,6 +21,7 @@ import dns.immutable import dns.name import dns.rdata +import dns.rdtypes.util def _write_string(file, s): diff --git a/dns/rdtypes/IN/PX.py b/dns/rdtypes/IN/PX.py index 8abfb291c..113d409cd 100644 --- a/dns/rdtypes/IN/PX.py +++ b/dns/rdtypes/IN/PX.py @@ -20,6 +20,7 @@ import dns.exception import dns.immutable import dns.rdata +import dns.rdtypes.util import dns.name diff --git a/dns/rdtypes/IN/SRV.py b/dns/rdtypes/IN/SRV.py index 6d9b683af..5b5ff4229 100644 --- a/dns/rdtypes/IN/SRV.py +++ b/dns/rdtypes/IN/SRV.py @@ -20,6 +20,7 @@ import dns.exception import dns.immutable import dns.rdata +import dns.rdtypes.util import dns.name diff --git a/dns/rdtypes/svcbbase.py b/dns/rdtypes/svcbbase.py index f757f0264..80e67e0a2 100644 --- a/dns/rdtypes/svcbbase.py +++ b/dns/rdtypes/svcbbase.py @@ -12,6 +12,7 @@ import dns.ipv6 import dns.name import dns.rdata +import dns.rdtypes.util import dns.tokenizer import dns.wire