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

This commit is contained in:
Toshio Kuratomi 2017-03-27 11:41:31 -07:00 committed by Adrian Likins
parent dd63dfcf1e
commit d8f86fa4d2
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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