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:
Sam Doran
2019-04-09 13:17:59 -04:00
committed by Sloane Hertel
parent 97f706810c
commit 3cd98a9fcc
33 changed files with 48 additions and 109 deletions

View File

@@ -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: