summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/inventory/script.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/inventory/script.py')
-rw-r--r--lib/ansible/plugins/inventory/script.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/plugins/inventory/script.py b/lib/ansible/plugins/inventory/script.py
index 9b7e8f04b5..4ffd8e1a45 100644
--- a/lib/ansible/plugins/inventory/script.py
+++ b/lib/ansible/plugins/inventory/script.py
@@ -33,10 +33,11 @@ DOCUMENTATION = '''
import os
import subprocess
+from collections.abc import Mapping
+
from ansible.errors import AnsibleError, AnsibleParserError
from ansible.module_utils.basic import json_dict_bytes_to_unicode
from ansible.module_utils._text import to_native, to_text
-from ansible.module_utils.common._collections_compat import Mapping
from ansible.plugins.inventory import BaseInventoryPlugin
from ansible.utils.display import Display