summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-04-12 16:54:51 +0200
committeralalazo <massimiliano.culpo@googlemail.com>2016-04-12 16:54:51 +0200
commit80678b2188acb30638e33b86a894d133ce4b4796 (patch)
tree195d20337cbe4dcd037d5559b3c11bac905abf08 /bin
parente73caad0d76fe8710ae054f4bcdbad1a649dbb92 (diff)
downloadspack-80678b2188acb30638e33b86a894d133ce4b4796.tar.gz
spack-80678b2188acb30638e33b86a894d133ce4b4796.tar.bz2
spack-80678b2188acb30638e33b86a894d133ce4b4796.tar.xz
spack-80678b2188acb30638e33b86a894d133ce4b4796.zip
fix : proper update of config file (before it was discarding architectures that were not the current one) fixes #774
Diffstat (limited to 'bin')
-rwxr-xr-xbin/spack2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spack b/bin/spack
index 31165bba9d..f51cb8a4ec 100755
--- a/bin/spack
+++ b/bin/spack
@@ -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')