summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Scogland <scogland1@llnl.gov>2016-02-17 16:43:36 -0800
committerTom Scogland <scogland1@llnl.gov>2016-02-17 16:43:36 -0800
commit00125e4688bb457937b4907f8e69afe2a06737fc (patch)
tree24477866e735d20954db3badf7752bac93a55d67 /lib
parent5d1a639afd81a8d47cc74a707b96a44dd772ad2c (diff)
downloadspack-00125e4688bb457937b4907f8e69afe2a06737fc.tar.gz
spack-00125e4688bb457937b4907f8e69afe2a06737fc.tar.bz2
spack-00125e4688bb457937b4907f8e69afe2a06737fc.tar.xz
spack-00125e4688bb457937b4907f8e69afe2a06737fc.zip
remove the unprotected key name from create.py
Small fix to use dicts correctly.
Diffstat (limited to 'lib')
-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(