Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877)

* Replace ansible.module_utils._text by ansible.module_utils.common.text.converters.

* Also adjust tests.
This commit is contained in:
Felix Fontein
2021-06-26 23:59:11 +02:00
committed by GitHub
parent d180390dbc
commit fafabed9e6
249 changed files with 252 additions and 250 deletions

View File

@@ -404,7 +404,7 @@ import traceback
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils._text import to_native
from ansible.module_utils.common.text.converters import to_native
# While vmadm(1M) supports a -E option to return any errors in JSON, the
# generated JSON does not play well with the JSON parsers of Python.