summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Gartung <gartung@fnal.gov>2020-03-28 16:49:34 -0500
committerGitHub <noreply@github.com>2020-03-28 16:49:34 -0500
commitcbcac722547cae2a25ea4c8503c71adda271c557 (patch)
tree8306f5adf4c098bb5560b9d7beaca4a8383e2948
parentbeaa4fbe3ce1a9fef95187e8caf7f13dba32c4f7 (diff)
downloadspack-cbcac722547cae2a25ea4c8503c71adda271c557.tar.gz
spack-cbcac722547cae2a25ea4c8503c71adda271c557.tar.bz2
spack-cbcac722547cae2a25ea4c8503c71adda271c557.tar.xz
spack-cbcac722547cae2a25ea4c8503c71adda271c557.zip
Buildcache keys command speed up (#15727)
* Limit the spidering to depth=0 for keys * depth=0 is default argument
-rw-r--r--lib/spack/spack/binary_distribution.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py
index 7902e5fc58..0fb6feae02 100644
--- a/lib/spack/spack/binary_distribution.py
+++ b/lib/spack/spack/binary_distribution.py
@@ -903,7 +903,7 @@ def get_keys(install=False, trust=False, force=False):
url_util.format(fetch_url_build_cache))
# For s3 mirror need to request index.html directly
p, links = web_util.spider(
- url_util.join(fetch_url_build_cache, 'index.html'), depth=1)
+ url_util.join(fetch_url_build_cache, 'index.html'))
for link in links:
if re.search(r'\.key', link) or re.search(r'\.pub', link):