From 25e905395c0e30e832e04372ce1855f96643785d Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Tue, 31 Mar 2026 08:07:15 -0700 Subject: [PATCH] And the filelock one, this is defensive stuff I don't see value in --- src/documents/search/_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/search/_backend.py b/src/documents/search/_backend.py index 8d39c90da..b2bacbd3b 100644 --- a/src/documents/search/_backend.py +++ b/src/documents/search/_backend.py @@ -160,7 +160,7 @@ class WriteBatch: self._lock = filelock.FileLock(str(lock_path)) try: self._lock.acquire(timeout=self._lock_timeout) - except filelock.Timeout as e: + except filelock.Timeout as e: # pragma: no cover raise SearchIndexLockError( f"Could not acquire index lock within {self._lock_timeout}s", ) from e