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

Fixed F401 (unused-import)

This commit is contained in:
Teal Dulcet
2023-12-22 07:08:30 -08:00
committed by Joshua Tauberer
parent 785c337fb3
commit 0ee64f2fe8
11 changed files with 11 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
# try to log in to.
######################################################################
import sys, os, time, functools
import sys, os, time
# parse command line
@@ -163,7 +163,6 @@ def run_test(testfunc, args, count, within_seconds, parallel):
# run testfunc sequentially and still get to count requests within
# the required time. So we split the requests across threads.
import requests.exceptions
from multiprocessing import Pool
restart_fail2ban_service()

View File

@@ -7,7 +7,7 @@
# where ipaddr is the IP address of your Mail-in-a-Box
# and hostname is the domain name to check the DNS for.
import sys, re, difflib
import sys, re
import dns.reversename, dns.resolver
if len(sys.argv) < 3: