summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-06-07 16:10:32 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2015-06-07 16:10:32 -0700
commit1857b7736f1c416ebadbe2d49d5297d31e235365 (patch)
tree24a179c9b44a5f877cc65d6f6f27d6c8fe39b23a /bin
parentab31f989db4de515aafd900c9235161ce45993b3 (diff)
parentbde9c7eee3fb55258b6c5e0ddb143882ebe0cca3 (diff)
downloadspack-1857b7736f1c416ebadbe2d49d5297d31e235365.tar.gz
spack-1857b7736f1c416ebadbe2d49d5297d31e235365.tar.bz2
spack-1857b7736f1c416ebadbe2d49d5297d31e235365.tar.xz
spack-1857b7736f1c416ebadbe2d49d5297d31e235365.zip
Merge Kevin, Ben, and Saravan's contributions into develop
- includes ATLAS, BLAS, LAPACK, other FastMATH packages.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack9
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/spack b/bin/spack
index 354754594e..5c042edd2d 100755
--- a/bin/spack
+++ b/bin/spack
@@ -126,14 +126,7 @@ def main():
try:
return_val = command(parser, args)
except SpackError, e:
- if spack.debug:
- # In debug mode, raise with a full stack trace.
- raise
- elif e.long_message:
- tty.die(e.message, e.long_message)
- else:
- tty.die(e.message)
-
+ e.die()
except KeyboardInterrupt:
sys.stderr.write('\n')
tty.die("Keyboard interrupt.")