Remove spack.repo.IndexError (#39029)

This exception is never used and
overrides a built-in.
This commit is contained in:
Massimiliano Culpo 2023-07-21 15:33:30 +02:00 committed by GitHub
parent c1be7f2354
commit c0b42151c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1472,10 +1472,6 @@ class UnknownEntityError(RepoError):
"""Raised when we encounter a package spack doesn't have."""
class IndexError(RepoError):
"""Raised when there's an error with an index."""
class UnknownPackageError(UnknownEntityError):
"""Raised when we encounter a package spack doesn't have."""