remove the unprotected key name from create.py
Small fix to use dicts correctly.
This commit is contained in:
parent
5d1a639afd
commit
00125e4688
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user