From 39d41704751306394eed774bf3274ac328fc7164 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 23 Sep 2017 12:22:10 -0400 Subject: [PATCH] no more windows woes Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index fe9f942a..79692d9b 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -823,29 +823,9 @@ def convert_three_to_python(three, python): if not python: if three is False: - if os.name == 'nt': - click.echo( - '{0} If you are running on Windows, you should use ' - 'the {1} option, instead.' - ''.format( - crayons.red('Warning!', bold=True), - crayons.green('--python') - ), err=True - ) - sys.exit(1) return '2' elif three is True: - if os.name == 'nt': - click.echo( - '{0} If you are running on Windows, you should use ' - 'the {1} option, instead.' - ''.format( - crayons.red('Warning!', bold=True), - crayons.green('--python') - ), err=True - ) - return '3' else: return python