summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/build_environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index 400589b8a0..db484c12c4 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -883,8 +883,8 @@ class ChildError(InstallError):
else:
# The error happened in in the Python code, so try to show
# some context from the Package itself.
- out.write('%s: %s\n\n' % (self.name, self.message))
if self.context:
+ out.write('\n')
out.write('\n'.join(self.context))
out.write('\n')