disable spinner for 2.6

This commit is contained in:
Nate Prewitt
2017-02-04 16:41:36 -07:00
parent 9cbb473829
commit a2112bb543
+5
View File
@@ -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