diff options
author | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-05-03 06:21:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 06:21:37 +0200 |
commit | ae9a9e019a73cb951d4d2a2585ac71a53f351c81 (patch) | |
tree | 34e2c1fb2c4b3f519c699a9c7ecba046be5a1698 /bin | |
parent | 72d45f7a446a6293ff675fce652a62f27ef2ed77 (diff) | |
download | spack-ae9a9e019a73cb951d4d2a2585ac71a53f351c81.tar.gz spack-ae9a9e019a73cb951d4d2a2585ac71a53f351c81.tar.bz2 spack-ae9a9e019a73cb951d4d2a2585ac71a53f351c81.tar.xz spack-ae9a9e019a73cb951d4d2a2585ac71a53f351c81.zip |
spack: no stacktrace if not in debug mode + fix emacs variant (#4098)
* spack: no stacktrace if not in debug mode + fix emacs variant
* emacs: removed dead code
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/spack | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -194,6 +194,8 @@ def _main(args, unknown_args): return_val = command(parser, args) except SpackError as e: e.die() + except Exception as e: + tty.die(str(e)) except KeyboardInterrupt: sys.stderr.write('\n') tty.die("Keyboard interrupt.") |