Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions lib/spack/spack/binary_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,12 @@ def update(self, with_cooldown: bool = False) -> None:
except FetchIndexError as e:
fetch_errors.append(e)
self._last_fetch_times[urlAndVersion] = (now, False)
except BuildcacheIndexNotExists as e:
fetch_errors.append(e)
except BuildcacheIndexNotExists: # as e:
# DH* JCSDA fork only - silence warnings about non-existent
# index for mirrors, because this warning is issued for all
# mirrors (source, bootstrap, ...)
# fetch_errors.append(e)
# *DH
self._last_fetch_times[urlAndVersion] = (now, False)
# Binary caches are not required to have an index, don't raise
# if it doesn't exist.
Expand Down Expand Up @@ -420,8 +424,12 @@ def update(self, with_cooldown: bool = False) -> None:
except FetchIndexError as e:
fetch_errors.append(e)
self._last_fetch_times[urlAndVersion] = (now, False)
except BuildcacheIndexNotExists as e:
fetch_errors.append(e)
except BuildcacheIndexNotExists: # as e:
# DH* JCSDA fork only - silence warnings about non-existent
# index for mirrors, because this warning is issued for all
# mirrors (source, bootstrap, ...)
# fetch_errors.append(e)
# *DH
self._last_fetch_times[urlAndVersion] = (now, False)
# Binary caches are not required to have an index, don't raise
# if it doesn't exist.
Expand Down
Loading