summaryrefslogtreecommitdiff
path: root/lib/spack/spack/bootstrap/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/bootstrap/core.py')
-rw-r--r--lib/spack/spack/bootstrap/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/bootstrap/core.py b/lib/spack/spack/bootstrap/core.py
index d7b39b02e0..9fb04453c4 100644
--- a/lib/spack/spack/bootstrap/core.py
+++ b/lib/spack/spack/bootstrap/core.py
@@ -214,7 +214,7 @@ class BuildcacheBootstrapper(Bootstrapper):
with spack.config.override(self.mirror_scope):
# This index is currently needed to get the compiler used to build some
# specs that we know by dag hash.
- spack.binary_distribution.binary_index.regenerate_spec_cache()
+ spack.binary_distribution.BINARY_INDEX.regenerate_spec_cache()
index = spack.binary_distribution.update_cache_and_get_specs()
if not index: