Remove unused imports from /bin and lib/ansible/cli (#43440)

* Remove unused imports from lib/ansible/cli

* Remove unused imports from bin/
pull/43474/head
joren485 6 years ago committed by Toshio Kuratomi
parent fa45c44026
commit d03b9eddf6

@ -23,7 +23,7 @@ import json
from contextlib import contextmanager
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.moves import cPickle, StringIO
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.cli import CLI
from ansible.errors import AnsibleError, AnsibleOptionsError

@ -13,7 +13,7 @@ import yaml
from ansible.cli import CLI
from ansible.config.manager import ConfigManager, Setting, find_ini_config_file
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.utils.color import stringc
from ansible.utils.path import unfrackpath

Loading…
Cancel
Save