A couple more places where compat.six was used converted to module_utils.six (#22976)

pull/22449/merge
Toshio Kuratomi 8 years ago committed by Adrian Likins
parent dd63dfcf1e
commit d8f86fa4d2

@ -277,7 +277,7 @@ To test if something is a string, consider that it may be unicode.
if type(x) == str:
# yes
from ansible.compat.six import string_types
from ansible.module_utils.six import string_types
if isinstance(x, string_types):
Cleverness

@ -14,7 +14,7 @@ PAPER =
BUILDDIR = _build
RSTDIR = rst
MODULES_PATH = ../../lib
EXCLUDE_PATHS = ../../lib/ansible/modules ../../lib/ansible/utils/module_docs_fragments ../../lib/ansible/compat/six ../../lib/ansible/module_utils/six.py
EXCLUDE_PATHS = ../../lib/ansible/modules ../../lib/ansible/utils/module_docs_fragments ../../lib/ansible/module_utils/six
DOC_PROJECTS = "Ansible API"
# User-friendly check for sphinx-build

Loading…
Cancel
Save