import Callable from collections.abc for python3.7

https://bugs.python.org/issue25988
This commit is contained in:
Daniel Wallace 2018-08-30 11:23:30 -05:00 committed by rallytime
parent d7a410070a
commit d346b42332
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -22,7 +22,10 @@
# Import python libs
from __future__ import absolute_import, unicode_literals, print_function
from collections import Callable
try:
from collections.abc import Callable
except ImportError:
from collections import Callable
# Import 3rd-party libs
from salt.ext import six