From c0b42151c3bc1a976c3213fa49a8086827d51008 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Fri, 21 Jul 2023 15:33:30 +0200 Subject: Remove spack.repo.IndexError (#39029) This exception is never used and overrides a built-in. --- lib/spack/spack/repo.py | 4 ---- 1 file changed, 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.""" -- cgit v1.2.3-60-g2f50