mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-11 10:54:02 -07: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:
parent
97f706810c
commit
3cd98a9fcc
33 changed files with 48 additions and 109 deletions
|
@ -108,7 +108,7 @@ except Exception:
|
|||
load_chube_config()
|
||||
|
||||
# Imports for ansible
|
||||
import ConfigParser
|
||||
from ansible.module_utils.six.moves import configparser as ConfigParser
|
||||
|
||||
|
||||
class LinodeInventory(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue