This commit is contained in:
2017-02-02 21:35:27 -05:00
parent 9393f6b6af
commit 55ce3864ba
+2 -1
View File
@@ -708,6 +708,7 @@ def cli(ctx, where=False, venv=False, rm=False, bare=False, three=False, python=
click.echo(project.virtualenv_location)
sys.exit(0)
# --rm was passed...
elif rm:
with spinner():
@@ -723,7 +724,7 @@ def cli(ctx, where=False, venv=False, rm=False, bare=False, three=False, python=
click.echo(crayons.red('No virtualenv has been created for this project yet!'), err=True)
sys.exit(1)
# --two / --three was passed.
# --two / --three was passed...
if (python) or (three is not None):
ensure_project(three=three, python=python)