mirror of https://github.com/fail2ban/fail2ban
amend for `Mapping` (jails)
parent
42dee38ad2
commit
9f1d1f4fbd
|
@ -22,6 +22,9 @@ __copyright__ = "Copyright (c) 2004 Cyril Jaquier, 2013- Yaroslav Halchenko"
|
||||||
__license__ = "GPL"
|
__license__ = "GPL"
|
||||||
|
|
||||||
from threading import Lock
|
from threading import Lock
|
||||||
|
try:
|
||||||
|
from collections.abc import Mapping
|
||||||
|
except ImportError:
|
||||||
from collections import Mapping
|
from collections import Mapping
|
||||||
|
|
||||||
from ..exceptions import DuplicateJailException, UnknownJailException
|
from ..exceptions import DuplicateJailException, UnknownJailException
|
||||||
|
|
Loading…
Reference in New Issue