amend for `Mapping` (jails)

pull/1833/merge
Sergey G. Brester 2021-02-08 17:35:59 +01:00 committed by sebres
parent 42dee38ad2
commit 9f1d1f4fbd
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,10 @@ __copyright__ = "Copyright (c) 2004 Cyril Jaquier, 2013- Yaroslav Halchenko"
__license__ = "GPL"
from threading import Lock
from collections import Mapping
try:
from collections.abc import Mapping
except ImportError:
from collections import Mapping
from ..exceptions import DuplicateJailException, UnknownJailException
from .jail import Jail