mirror of https://github.com/fail2ban/fail2ban
amend for `Mapping`
parent
2b6bb2c1be
commit
42dee38ad2
|
@ -28,7 +28,10 @@ import logging
|
|||
import os
|
||||
import sys
|
||||
import time
|
||||
from collections import Mapping
|
||||
try:
|
||||
from collections.abc import Mapping
|
||||
except ImportError:
|
||||
from collections import Mapping
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError:
|
||||
|
|
Loading…
Reference in New Issue