summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2023-07-21 15:33:30 +0200
committerGitHub <noreply@github.com>2023-07-21 15:33:30 +0200
commitc0b42151c3bc1a976c3213fa49a8086827d51008 (patch)
treec1acd5ad83aa1b8991104828bb6c26c9f52b8888
parentc1be7f2354fa0adb4267a176309b6f295a712f91 (diff)
downloadspack-c0b42151c3bc1a976c3213fa49a8086827d51008.tar.gz
spack-c0b42151c3bc1a976c3213fa49a8086827d51008.tar.bz2
spack-c0b42151c3bc1a976c3213fa49a8086827d51008.tar.xz
spack-c0b42151c3bc1a976c3213fa49a8086827d51008.zip
Remove spack.repo.IndexError (#39029)
This exception is never used and overrides a built-in.
-rw-r--r--lib/spack/spack/repo.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/spack/spack/repo.py b/lib/spack/spack/repo.py
index dba5b0c337..0b61c913cc 100644
--- a/lib/spack/spack/repo.py
+++ b/lib/spack/spack/repo.py
@@ -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."""