mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
BF: Due to python3 bug, importlib.machinery may need explicit import
This commit is contained in:
parent
59b9045e88
commit
530cd53add
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue