Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
smurfix committed Oct 10, 2020
1 parent d3666b2 commit d18b28e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/click/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ def should_strip_ansi(stream=None, color=None):
# Windows has a smaller terminal
DEFAULT_COLUMNS = 79

from ._winconsole import _get_windows_console_stream, _wrap_std_stream
from ._winconsole import _get_windows_console_stream

def _get_argv_encoding():
import locale
Expand Down Expand Up @@ -595,7 +595,6 @@ def _get_argv_encoding():
return getattr(sys.stdin, "encoding", None) or get_filesystem_encoding()

_get_windows_console_stream = lambda *x: None
_wrap_std_stream = lambda *x: None


def term_len(x):
Expand Down

0 comments on commit d18b28e

Please sign in to comment.