Block inside spinner block

This commit is contained in:
Tzu-ping Chung
2018-07-18 14:47:54 +08:00
committed by Dan Ryan
parent b8aa62ac66
commit 29326d53f6
+1 -1
View File
@@ -847,7 +847,7 @@ def do_create_virtualenv(python=None, site_packages=False, pypi_mirror=None):
c = delegator.run(
cmd, block=False, timeout=PIPENV_TIMEOUT, env=pip_config,
)
c.block()
c.block()
click.echo(crayons.blue("{0}".format(c.out)), err=True)
if c.return_code != 0:
click.echo(crayons.blue("{0}".format(c.err)), err=True)