From acef64b019443a2a0001465af045ecabe2718b99 Mon Sep 17 00:00:00 2001 From: Teal Dulcet Date: Wed, 8 Jan 2025 05:11:09 -0800 Subject: [PATCH] Fixed F401 (unused-import): `contextlib` imported but unused --- management/dns_update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/management/dns_update.py b/management/dns_update.py index ffb97ebe..dbb25a4e 100755 --- a/management/dns_update.py +++ b/management/dns_update.py @@ -11,7 +11,6 @@ import dns.resolver from utils import shell, load_env_vars_from_file, safe_domain_name, sort_domains, get_ssh_port from ssl_certificates import get_ssl_certificates, check_certificate -import contextlib # From https://stackoverflow.com/questions/3026957/how-to-validate-a-domain-name-using-regex-php/16491074#16491074 # This regular expression matches domain names according to RFCs, it also accepts fqdn with an leading dot,