summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Brezovsky <[email protected]>2019-03-28 21:28:02 -0400
committerAndrew Brezovsky <[email protected]>2019-03-28 21:28:02 -0400
commitf2ee6cc73f1a436a056aceef0d34fee68e5ad4b0 (patch)
tree70ef3eb8d18c0413cb1fe6585adc0ac8caff5ed5
parented4a2a34d17fcc1bd607a7c33d168ec4429b31e0 (diff)
make: decode bytes objects from subprocess stdout in configure.py Launcher class, resolves #2011
Signed-off-by: Andrew Brezovsky <[email protected]>
-rw-r--r--make/configure.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/configure.py b/make/configure.py
index f132b9ec4..bd9585515 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1427,6 +1427,8 @@ class Launcher:
except Exception as x:
cfg.errln( 'launch failure: %s', x )
for line in pipe.stdout:
+ if not isinstance(line, str):
+ line = line.decode()
self.echof( '%s', line )
pipe.wait()