diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/util/web.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |