diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2018-06-02 23:04:36 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-06-02 21:04:36 -0700 |
commit | d6458a6ba754f2e64ebd43e0f90632e04feac8fb (patch) | |
tree | 6ddf32c1d2315bebde01715115f5b5ae30b2aecb | |
parent | fec11757d5535e3b186069b6b0d2285fc7d054f7 (diff) | |
download | spack-d6458a6ba754f2e64ebd43e0f90632e04feac8fb.tar.gz spack-d6458a6ba754f2e64ebd43e0f90632e04feac8fb.tar.bz2 spack-d6458a6ba754f2e64ebd43e0f90632e04feac8fb.tar.xz spack-d6458a6ba754f2e64ebd43e0f90632e04feac8fb.zip |
Don't duplicate Python error messages (#8270)
-rw-r--r-- | lib/spack/spack/build_environment.py | 2 |
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') |