From e96ecf78c17ec3ef7b859619ae09a5d3f961c366 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 16 Nov 2023 10:59:16 -0500 Subject: [PATCH] [DATALAD RUNCMD] Do interactive fixing of some ambigous typos === Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2 ./files/fail2ban-openrc.conf ./fail2ban/tests/fail2banclienttestcase.py", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- fail2ban/tests/fail2banclienttestcase.py | 6 +++--- files/fail2ban-openrc.conf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fail2ban/tests/fail2banclienttestcase.py b/fail2ban/tests/fail2banclienttestcase.py index 9d3f382f..28b908cd 100644 --- a/fail2ban/tests/fail2banclienttestcase.py +++ b/fail2ban/tests/fail2banclienttestcase.py @@ -440,7 +440,7 @@ class Fail2banClientServerBase(LogCaptureTestCase): ) except: # pragma: no cover if _inherited_log(startparams): - print(('=== Error by wait fot server, log: ===\n%s===' % self.getLog())) + print(('=== Error by wait for server, log: ===\n%s===' % self.getLog())) self.pruneLog() log = pjoin(tmp, "f2b.log") if isfile(log): @@ -859,8 +859,8 @@ class Fail2banServerTest(Fail2banClientServerBase): # Very complicated test-case, that expected running server (foreground in thread). # # In this test-case, each phase is related from previous one, - # so it cannot be splitted in multiple test cases. - # Additionaly many log-messages used as ready-sign (to wait for end of phase). + # so it cannot be split in multiple test cases. + # Additionally many log-messages used as ready-sign (to wait for end of phase). # # Used file database (instead of :memory:), to restore bans and log-file positions, # after restart/reload between phases. diff --git a/files/fail2ban-openrc.conf b/files/fail2ban-openrc.conf index 9454ef68..57706d3d 100644 --- a/files/fail2ban-openrc.conf +++ b/files/fail2ban-openrc.conf @@ -1,2 +1,2 @@ -# For available options, plase run "fail2ban-server --help". +# For available options, please run "fail2ban-server --help". #FAIL2BAN_OPTIONS="-x"