diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/spack | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,7 @@ def main(): command = spack.cmd.get_command(args.command) try: return_val = command(parser, args) - except SpackError, e: + except SpackError as e: e.die() except KeyboardInterrupt: sys.stderr.write('\n') |