summaryrefslogtreecommitdiff
path: root/lib/ansible/collections/list.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/collections/list.py')
-rw-r--r--lib/ansible/collections/list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/collections/list.py b/lib/ansible/collections/list.py
index a867af2429..4c1e5502be 100644
--- a/lib/ansible/collections/list.py
+++ b/lib/ansible/collections/list.py
@@ -9,7 +9,7 @@ import os
from ansible.errors import AnsibleError
from ansible.cli.galaxy import with_collection_artifacts_manager
from ansible.galaxy.collection import find_existing_collections
-from ansible.module_utils._text import to_bytes
+from ansible.module_utils.common.text.converters import to_bytes
from ansible.utils.collection_loader import AnsibleCollectionConfig
from ansible.utils.collection_loader._collection_finder import _get_collection_name_from_path
from ansible.utils.display import Display