Skip to content
Myr

Remove one unused import and one redundant import

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by alexey · committed by alexey · parent e6eac0a · Browse files · 2 files+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+1 added−2 removed

  • other:+1 added−2 removed

2 files+1 added−2 removed

modified:click/_compat.py-1 removed
256 unmodified lines
257 if isinstance(value, bytes):258 value = value.decode(get_filesystem_encoding(), 'replace')259 return value260else:261 import io261 text_type = str262 raw_input = input263 string_types = (str,)264 int_types = (int,)
437 unmodified lines
modified:click/_termui_impl.py+1 added-1 removed
14 unmodified lines
15import sys16import time17import math18import contextlib19from ._compat import _default_text_stdout, range_type, PY2, isatty, \19from ._compat import _default_text_stdout, range_type, isatty, \20 open_stream, strip_ansi, term_len, get_best_encoding, WIN, int_types, \21 CYGWIN22from .utils import echo23from .exceptions import ClickException
604 unmodified lines