diff options
author | Tom Scogland <scogland1@llnl.gov> | 2016-02-17 16:43:36 -0800 |
---|---|---|
committer | Tom Scogland <scogland1@llnl.gov> | 2016-02-17 16:43:36 -0800 |
commit | 00125e4688bb457937b4907f8e69afe2a06737fc (patch) | |
tree | 24477866e735d20954db3badf7752bac93a55d67 /lib | |
parent | 5d1a639afd81a8d47cc74a707b96a44dd772ad2c (diff) | |
download | spack-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.py | 2 |
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( |