Skip to content
Snippets Groups Projects
Commit 3a8bc7ff authored by Scott Wittenburg's avatar Scott Wittenburg Committed by Gregory Becker
Browse files

buildcache: list all mirrors even if one fails

parent 9cbe358f
No related branches found
No related tags found
No related merge requests found
......@@ -869,8 +869,8 @@ def get_specs(allarch=False):
except (URLError, web_util.SpackWebError) as url_err:
tty.error('Failed to read index {0}'.format(index_url))
tty.debug(url_err)
# Just return whatever specs we may already have cached
return _cached_specs
# Continue on to the next mirror
continue
tmpdir = tempfile.mkdtemp()
index_file_path = os.path.join(tmpdir, 'index.json')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment