summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-02-17 17:06:51 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2016-02-17 17:06:51 -0800
commitc112cf66fe967af062baaf4eea1e8d2d91e4c645 (patch)
tree0c4cf3b1aaf805eb154978f64fbba25ce96fb653
parent9a5e0c59b01f383b327e29a710e03b18c3b33376 (diff)
parent00125e4688bb457937b4907f8e69afe2a06737fc (diff)
downloadspack-c112cf66fe967af062baaf4eea1e8d2d91e4c645.tar.gz
spack-c112cf66fe967af062baaf4eea1e8d2d91e4c645.tar.bz2
spack-c112cf66fe967af062baaf4eea1e8d2d91e4c645.tar.xz
spack-c112cf66fe967af062baaf4eea1e8d2d91e4c645.zip
Merge pull request #443 from trws/dicts-like-string-keys
remove the unprotected key name from create.py
-rw-r--r--lib/spack/spack/cmd/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py
index edcea0718c..6809209046 100644
--- a/lib/spack/spack/cmd/create.py
+++ b/lib/spack/spack/cmd/create.py
@@ -222,7 +222,7 @@ def fetch_tarballs(url, name, args):
archives_to_fetch = 1
if not versions:
# If the fetch failed for some reason, revert to what the user provided
- versions = { version : url }
+ versions = { "version" : url }
elif len(versions) > 1:
tty.msg("Found %s versions of %s:" % (len(versions), name),
*spack.cmd.elide_list(