diff options
author | Matt Clay <matt@mystile.com> | 2023-05-03 08:58:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 08:58:00 -0700 |
commit | 2cd1744be3d96f1eec674e1b66433c3730caa24f (patch) | |
tree | 8ab323420af73f978020366daeedd7c9ccd6f246 /lib/ansible/modules/expect.py | |
parent | eea7137449ba6a94126e97e463682319e030e6fd (diff) | |
download | ansible-2cd1744be3d96f1eec674e1b66433c3730caa24f.tar.gz |
Use ansible.module_utils.common.text.converters (#80704)
Replace use of old `ansible.module_utils._text` and add a unit test to maintain backwards compatibility.
Diffstat (limited to 'lib/ansible/modules/expect.py')
-rw-r--r-- | lib/ansible/modules/expect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/expect.py b/lib/ansible/modules/expect.py index 9ca799dac7..c9aac71ac5 100644 --- a/lib/ansible/modules/expect.py +++ b/lib/ansible/modules/expect.py @@ -121,7 +121,7 @@ except ImportError: HAS_PEXPECT = False from ansible.module_utils.basic import AnsibleModule, missing_required_lib -from ansible.module_utils._text import to_bytes, to_native +from ansible.module_utils.common.text.converters import to_bytes, to_native def response_closure(module, question, responses): |