summaryrefslogtreecommitdiff
path: root/hacking/ansible-profile
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-05-03 08:58:00 -0700
committerGitHub <noreply@github.com>2023-05-03 08:58:00 -0700
commit2cd1744be3d96f1eec674e1b66433c3730caa24f (patch)
tree8ab323420af73f978020366daeedd7c9ccd6f246 /hacking/ansible-profile
parenteea7137449ba6a94126e97e463682319e030e6fd (diff)
downloadansible-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 'hacking/ansible-profile')
-rwxr-xr-xhacking/ansible-profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/ansible-profile b/hacking/ansible-profile
index 8681cb739d..9856e7ab5c 100755
--- a/hacking/ansible-profile
+++ b/hacking/ansible-profile
@@ -7,7 +7,7 @@ import sys
import traceback
import ansible.constants as C
-from ansible.module_utils._text import to_text
+from ansible.module_utils.common.text.converters import to_text
target = sys.argv.pop(1)
myclass = "%sCLI" % target.capitalize()