mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 23:44:00 -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
|
@ -43,9 +43,9 @@ import os
|
|||
import argparse
|
||||
import re
|
||||
from time import time
|
||||
import six
|
||||
|
||||
from six.moves import configparser
|
||||
from ansible.module_utils import six
|
||||
from ansible.module_utils.six.moves import configparser
|
||||
|
||||
try:
|
||||
import packet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue