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:
joren485 2018-07-31 03:55:42 +02:00 committed by Toshio Kuratomi
parent fa45c44026
commit d03b9eddf6
3 changed files with 2 additions and 4 deletions

View file

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

View file

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

View file

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