Update core.py

This commit is contained in:
Cologler
2019-05-20 22:40:16 +08:00
committed by GitHub
parent 35b2101770
commit a3556e9d7f
+5 -1
View File
@@ -1777,7 +1777,11 @@ def ensure_lockfile(keep_outdated=False, pypi_mirror=None):
def do_py(system=False):
if not project.virtualenv_exists:
click.echo(
crayons.red("location not created nor specified"),
"{}({}){}".format(
crayons.red("No virtualenv has been created for this project "),
crayons.white(project.project_directory, bold=True),
crayons.red(" yet!")
),
err=True,
)
return