mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #3847 from pypa/output-3544
Eliminate duplicate error outputs.
This commit is contained in:
+3
-10
@@ -2085,21 +2085,14 @@ def do_install(
|
||||
pypi_mirror=pypi_mirror,
|
||||
)
|
||||
if not c.ok:
|
||||
sp.write_err(u"{0}: {1}".format(
|
||||
crayons.red("WARNING"),
|
||||
vistir.compat.fs_str("Failed installing package {0}".format(pkg_line)))
|
||||
)
|
||||
sp.write_err(
|
||||
vistir.compat.fs_str(u"Error text: {0}".format(c.out))
|
||||
)
|
||||
sp.write_err(
|
||||
vistir.compat.fs_str(u"{0}".format(c.err))
|
||||
)
|
||||
sp.write_err(
|
||||
u"{0} An error occurred while installing {1}!".format(
|
||||
crayons.red(u"Error: ", bold=True), crayons.green(pkg_line)
|
||||
),
|
||||
)
|
||||
sp.write_err(
|
||||
vistir.compat.fs_str(u"Error text: {0}".format(c.out))
|
||||
)
|
||||
sp.write_err(crayons.blue(vistir.compat.fs_str(format_pip_error(c.err))))
|
||||
if environments.is_verbose():
|
||||
sp.write_err(crayons.blue(vistir.compat.fs_str(format_pip_output(c.out))))
|
||||
|
||||
Reference in New Issue
Block a user