fix : proper update of config file (before it was discarding architectures that were not the current one) fixes #774

This commit is contained in:
alalazo
2016-04-12 16:54:51 +02:00
parent e73caad0d7
commit 80678b2188
3 changed files with 14 additions and 13 deletions

View File

@@ -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')