mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
disable spinner for 2.6
This commit is contained in:
@@ -50,6 +50,11 @@ click_completion.init()
|
||||
if PIPENV_COLORBLIND:
|
||||
crayons.disable()
|
||||
|
||||
# Disable spinner for Python 2.6 due to unicode conflict.
|
||||
# TODO: Remove me when blindspin is patched.
|
||||
if sys.version_info[0:2] == (2, 6):
|
||||
PIPENV_NOSPIN = True
|
||||
|
||||
# Disable spinner, for cleaner build logs (the unworthy).
|
||||
if PIPENV_NOSPIN:
|
||||
@contextlib.contextmanager
|
||||
|
||||
Reference in New Issue
Block a user