From 6b2f3b66a65b0966da48ce612995fb0ee6a36da9 Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Mon, 5 Nov 2018 11:30:41 -0500 Subject: [PATCH] Syntax error fix Signed-off-by: Dan Ryan --- pipenv/core.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pipenv/core.py b/pipenv/core.py index d03ba042..26ac4d0e 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -1949,18 +1949,18 @@ def do_install( if index_url: pkg_requirement.index = index_url try: - c = pip_install( - pkg_requirement, - ignore_hashes=True, - allow_global=system, - selective_upgrade=selective_upgrade, - no_deps=False, - pre=pre, - requirements_dir=requirements_directory, - index=index_url, - extra_indexes=extra_index_url, - pypi_mirror=pypi_mirror, - ) + c = pip_install( + pkg_requirement, + ignore_hashes=True, + allow_global=system, + selective_upgrade=selective_upgrade, + no_deps=False, + pre=pre, + requirements_dir=requirements_directory, + index=index_url, + extra_indexes=extra_index_url, + pypi_mirror=pypi_mirror, + ) except (ValueError, RuntimeError): sp.write_err(vistir.compat.fs_str("{0}: {1}".format(crayons.red("WARNING"), e))) sp.fail(environments.PIPENV_SPINNER_FAIL_TEXT.format("Installation Failed"))