mirror of https://github.com/fail2ban/fail2ban
BF: Due to python3 bug, importlib.machinery may need explicit import
parent
59b9045e88
commit
530cd53add
|
@ -28,7 +28,7 @@ import time, logging
|
|||
import os
|
||||
import sys
|
||||
if sys.version_info >= (3, 3):
|
||||
import importlib
|
||||
import importlib.machinery
|
||||
else:
|
||||
import imp
|
||||
from collections import Mapping
|
||||
|
|
Loading…
Reference in New Issue