1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-18 18:07:22 +01:00

Fixed W293 (blank-line-with-whitespace): Blank line contains whitespace

This commit is contained in:
Teal Dulcet
2023-12-22 07:12:50 -08:00
committed by Joshua Tauberer
parent 555ecc1ebb
commit 6bfd1e5140
5 changed files with 12 additions and 12 deletions

View File

@@ -1044,7 +1044,7 @@ def set_secondary_dns(hostnames, env):
resolver = dns.resolver.get_default_resolver()
resolver.timeout = 5
resolver.lifetime = 5
for item in hostnames:
if not item.startswith("xfr:"):
# Resolve hostname.