diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2018-12-10 07:36:55 -0600 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2018-12-10 14:36:55 +0100 |
commit | ad046402b6de8103aef709713d04130dabbe1357 (patch) | |
tree | 13dfe6d663dab9b84a2fe36fe536aeffb6ae41d2 /lib/spack | |
parent | 22446d7303d12cabec5539b46a70624721ddb4cb (diff) | |
download | spack-ad046402b6de8103aef709713d04130dabbe1357.tar.gz spack-ad046402b6de8103aef709713d04130dabbe1357.tar.bz2 spack-ad046402b6de8103aef709713d04130dabbe1357.tar.xz spack-ad046402b6de8103aef709713d04130dabbe1357.zip |
Make downloads from list_url deterministic (#10047)
Diffstat (limited to 'lib/spack')
-rw-r--r-- | lib/spack/spack/util/web.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/util/web.py b/lib/spack/spack/util/web.py index b403e44d18..75a6104702 100644 --- a/lib/spack/spack/util/web.py +++ b/lib/spack/spack/util/web.py @@ -328,7 +328,7 @@ def find_versions_of_archive(archive_urls, list_url=None, list_depth=0): # Build a dict version -> URL from any links that match the wildcards. versions = {} - for url in links: + for url in sorted(links): if any(re.search(r, url) for r in regexes): try: ver = spack.url.parse_version(url) |