Bugfix in create command.

This commit is contained in:
Todd Gamblin 2014-12-04 10:47:01 -08:00
parent c19347a055
commit c774455fc5

View file

@ -180,11 +180,11 @@ def create(parser, args):
tty.msg("Aborted.") tty.msg("Aborted.")
return return
sorted_versions = list(reversed(versions)) sorted_versions = list(reversed(versions.keys()))
guesser = ConfigureGuesser() guesser = ConfigureGuesser()
ver_hash_tuples = spack.cmd.checksum.get_checksums( ver_hash_tuples = spack.cmd.checksum.get_checksums(
versions[:archives_to_fetch], urls[:archives_to_fetch], sorted_versions[:archives_to_fetch], urls[:archives_to_fetch],
first_stage_function=guesser, keep_stage=args.keep_stage) first_stage_function=guesser, keep_stage=args.keep_stage)
if not ver_hash_tuples: if not ver_hash_tuples: