Remove unused imports from /bin and lib/ansible/cli (#43440)
* Remove unused imports from lib/ansible/cli * Remove unused imports from bin/
This commit is contained in:
parent
fa45c44026
commit
d03b9eddf6
3 changed files with 2 additions and 4 deletions
|
@ -23,7 +23,7 @@ import json
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
|
|
||||||
from ansible import constants as C
|
from ansible import constants as C
|
||||||
from ansible.module_utils._text import to_bytes, to_native, to_text
|
from ansible.module_utils._text import to_bytes, to_text
|
||||||
from ansible.module_utils.six import PY3
|
from ansible.module_utils.six import PY3
|
||||||
from ansible.module_utils.six.moves import cPickle, StringIO
|
from ansible.module_utils.six.moves import cPickle, StringIO
|
||||||
from ansible.module_utils.connection import Connection, ConnectionError, send_data, recv_data
|
from ansible.module_utils.connection import Connection, ConnectionError, send_data, recv_data
|
||||||
|
|
|
@ -20,8 +20,6 @@ __metaclass__ = type
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
from ansible import constants as C
|
from ansible import constants as C
|
||||||
from ansible.cli import CLI
|
from ansible.cli import CLI
|
||||||
from ansible.errors import AnsibleError, AnsibleOptionsError
|
from ansible.errors import AnsibleError, AnsibleOptionsError
|
||||||
|
|
|
@ -13,7 +13,7 @@ import yaml
|
||||||
from ansible.cli import CLI
|
from ansible.cli import CLI
|
||||||
from ansible.config.manager import ConfigManager, Setting, find_ini_config_file
|
from ansible.config.manager import ConfigManager, Setting, find_ini_config_file
|
||||||
from ansible.errors import AnsibleError, AnsibleOptionsError
|
from ansible.errors import AnsibleError, AnsibleOptionsError
|
||||||
from ansible.module_utils._text import to_native, to_text, to_bytes
|
from ansible.module_utils._text import to_native, to_text
|
||||||
from ansible.parsing.yaml.dumper import AnsibleDumper
|
from ansible.parsing.yaml.dumper import AnsibleDumper
|
||||||
from ansible.utils.color import stringc
|
from ansible.utils.color import stringc
|
||||||
from ansible.utils.path import unfrackpath
|
from ansible.utils.path import unfrackpath
|
||||||
|
|
Loading…
Reference in a new issue