From d978cfbb1aefcb61d98a65ea69463c02b21edd01 Mon Sep 17 00:00:00 2001
From: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Date: Fri, 5 Jan 2018 22:07:51 +0100
Subject: [PATCH] Fixes the bug in spack configure spotted in #6833 (#6837)

---
 lib/spack/spack/build_environment.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index cab455695e..cb3bc6169e 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -667,7 +667,7 @@ def child_process(child_pipe, input_stream):
         except StopIteration as e:
             # StopIteration is used to stop installations
             # before the final stage, mainly for debug purposes
-            tty.msg(e.message)
+            tty.msg(e)
             child_pipe.send(None)
 
         except BaseException:
-- 
GitLab