From 2bea940e4399c7edf4cf7781e83c69235b7bcb8e Mon Sep 17 00:00:00 2001 From: Justin Stanley Date: Tue, 12 Mar 2019 20:19:46 -0500 Subject: [PATCH] find_versions_of_archive: expand link search (#10758) --- lib/spack/spack/util/web.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/spack/spack/util/web.py b/lib/spack/spack/util/web.py index 042ed9c60e..959d03781e 100644 --- a/lib/spack/spack/util/web.py +++ b/lib/spack/spack/util/web.py @@ -304,8 +304,9 @@ def find_versions_of_archive(archive_urls, list_url=None, list_depth=0): list_urls.update(additional_list_urls) # Grab some web pages to scrape. + # Start with any links already given. pages = {} - links = set() + links = set(archive_urls) for lurl in list_urls: pg, lnk = spider(lurl, depth=list_depth) pages.update(pg)