From 396c06a6a9a135480b5f623eb41391f88c65eca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikolai=20R=C3=B8ed=20Kristiansen?= Date: Sun, 19 Sep 2021 07:55:08 +0200 Subject: [PATCH] Fix printing install errors redirected to stdout (#4466) Following a regression in #4443 --- install-poetry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-poetry.py b/install-poetry.py index 2eb61b5..4b47d82 100644 --- a/install-poetry.py +++ b/install-poetry.py @@ -440,7 +440,7 @@ class Installer: 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