Skip to content

Commit

Permalink
Fix printing install errors redirected to stdout (python-poetry#4466)
Browse files Browse the repository at this point in the history
Following a regression in python-poetry#4443
  • Loading branch information
nikolaik authored and 1nF0rmed committed Nov 15, 2021
1 parent 97fc0eb commit 80549fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def _is_self_upgrade_supported(x):
self.install(version)
except subprocess.CalledProcessError as e:
print(
colorize("error", f"\nAn error has occurred: {e}\n{e.stderr.decode()}")
colorize("error", f"\nAn error has occurred: {e}\n{e.stdout.decode()}")
)

return e.returncode
Expand Down

0 comments on commit 80549fa

Please sign in to comment.