From bc66efec5d2a2746769fb86b80fe11430ee00ca1 Mon Sep 17 00:00:00 2001 From: Arun Babu Neelicattu Date: Sat, 26 Sep 2020 21:41:30 +0200 Subject: [PATCH] executor: fix incorrect return value --- poetry/installation/executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poetry/installation/executor.py b/poetry/installation/executor.py index f6c60497fd9..cc00a9d06e1 100644 --- a/poetry/installation/executor.py +++ b/poetry/installation/executor.py @@ -124,7 +124,7 @@ def execute(self, operations): # type: (Operation) -> int break - return self._shutdown + return 1 if self._shutdown else 0 def _write(self, operation, line): if not self.supports_fancy_output() or not self._should_write_operation(