Fix name reference

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2019-02-17 02:41:47 -05:00
parent 222eb50b18
commit 53c49683ac
-7
View File
@@ -1969,13 +1969,6 @@ def do_install(
sp.write_err(vistir.compat.fs_str("{0}: {1}".format(crayons.red("WARNING"), e)))
sp.fail(environments.PIPENV_SPINNER_FAIL_TEXT.format("Installation Failed"))
sys.exit(1)
pkg_name = pkg_requirement.req.setup_info.name
sp.write_err((decode_for_output(
"{0} {1}".format(
crayons.white("PACKAGE NAME: ", bold=True),
crayons.normal(pkg_name)
)
)))
if index_url:
pkg_requirement.index = index_url
try: