mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-03 23:20:19 -07:00
There's no ansible.module_utils_unicode
This commit is contained in:
parent
313d4b2c9e
commit
483c83b088
2 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ class LookupBase(with_metaclass(ABCMeta, object)):
|
||||||
must be converted into python's unicode type as the strings will be run
|
must be converted into python's unicode type as the strings will be run
|
||||||
through jinja2 which has this requirement. You can use::
|
through jinja2 which has this requirement. You can use::
|
||||||
|
|
||||||
from ansible.module_utils.unicode import to_unicode
|
from ansible.utils.unicode import to_unicode
|
||||||
result_string = to_unicode(result_string)
|
result_string = to_unicode(result_string)
|
||||||
"""
|
"""
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -22,7 +22,7 @@ import glob
|
||||||
|
|
||||||
from ansible.plugins.lookup import LookupBase
|
from ansible.plugins.lookup import LookupBase
|
||||||
from ansible.errors import AnsibleFileNotFound
|
from ansible.errors import AnsibleFileNotFound
|
||||||
from ansible.module_utils.unicode import to_bytes
|
from ansible.utils.unicode import to_bytes
|
||||||
|
|
||||||
class LookupModule(LookupBase):
|
class LookupModule(LookupBase):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue