mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Use ansible.module_utils.six in inventory scripts (#55000)
* Use six from ansible.module_utils for inventory scripts Remove skips from sanity test * Change all imports of ConfigParser to use module_utils.six.moves * Remove commented out lines * Fix six imports
This commit is contained in:
@@ -38,10 +38,9 @@ import ssl
|
||||
import sys
|
||||
import time
|
||||
|
||||
from six import integer_types, text_type, string_types
|
||||
from six.moves import configparser
|
||||
|
||||
from ansible.module_utils.common._collections_compat import MutableMapping
|
||||
from ansible.module_utils.six import integer_types, text_type, string_types
|
||||
from ansible.module_utils.six.moves import configparser
|
||||
|
||||
# Disable logging message trigged by pSphere/suds.
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user