From 5422054ae4b506fa8601668707657b515a5a9dc9 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 21 Aug 2015 19:50:21 +0300 Subject: [PATCH] Use original 'returncode' from exec command --- platformio/platforms/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio/platforms/base.py b/platformio/platforms/base.py index f52669e3..2cc3e246 100644 --- a/platformio/platforms/base.py +++ b/platformio/platforms/base.py @@ -384,8 +384,8 @@ class BasePlatform(object): raise exception.SConsNotInstalled() assert "returncode" in result - if self._found_error: - result['returncode'] = 1 + # if self._found_error: + # result['returncode'] = 1 if self._last_echo_line == ".": click.echo("")