remove the unprotected key name from create.py

Small fix to use dicts correctly.
This commit is contained in:
Tom Scogland 2016-02-17 16:43:36 -08:00
parent 5d1a639afd
commit 00125e4688

View File

@ -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(