From a2112bb543e1ff3caa33c25f08dc241fde558bda Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Sat, 4 Feb 2017 16:41:36 -0700 Subject: [PATCH] disable spinner for 2.6 --- pipenv/cli.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pipenv/cli.py b/pipenv/cli.py index e115f700..071892e5 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -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