1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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: if type(x) == str:
# yes # yes
from ansible.compat.six import string_types from ansible.module_utils.six import string_types
if isinstance(x, string_types): if isinstance(x, string_types):
Cleverness Cleverness

View file

@ -14,7 +14,7 @@ PAPER =
BUILDDIR = _build BUILDDIR = _build
RSTDIR = rst RSTDIR = rst
MODULES_PATH = ../../lib 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" DOC_PROJECTS = "Ansible API"
# User-friendly check for sphinx-build # User-friendly check for sphinx-build