summaryrefslogtreecommitdiff
path: root/fail2ban/helpers.py
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2018-01-22 21:09:21 -0500
committerYaroslav Halchenko <debian@onerussian.com>2018-01-22 21:39:56 -0500
commitba2538ba04b43eb0765b393ad78b5a1dc41111cd (patch)
treedfde584dd1892e513aaa98146a214d63e3840397 /fail2ban/helpers.py
parentaf2de7ff2fe7ad8a306a8963467a54bdbae7f3a4 (diff)
downloadfail2ban-ba2538ba04b43eb0765b393ad78b5a1dc41111cd.tar.gz
DOC: minor typos spotted around comments etc
Diffstat (limited to 'fail2ban/helpers.py')
-rw-r--r--fail2ban/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fail2ban/helpers.py b/fail2ban/helpers.py
index 378924df..98d59fa1 100644
--- a/fail2ban/helpers.py
+++ b/fail2ban/helpers.py
@@ -34,7 +34,7 @@ from .server.mytime import MyTime
PREFER_ENC = locale.getpreferredencoding()
-# correct prefered encoding if lang not set in environment:
+# correct preferred encoding if lang not set in environment:
if PREFER_ENC.startswith('ANSI_'): # pragma: no cover
if all((os.getenv(v) in (None, "") for v in ('LANGUAGE', 'LC_ALL', 'LC_CTYPE', 'LANG'))):
PREFER_ENC = 'UTF-8';