From 5f7f41031038451e9ca510baa3a84669b69fdafd Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sat, 23 Aug 2025 20:59:37 +0200 Subject: [PATCH] Fix acquire_lock interface signature See multifilesystem/lock.py and different calls. --- radicale/storage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicale/storage/__init__.py b/radicale/storage/__init__.py index fb17f834..ba4d1038 100644 --- a/radicale/storage/__init__.py +++ b/radicale/storage/__init__.py @@ -355,7 +355,7 @@ class BaseStorage: raise NotImplementedError @types.contextmanager - def acquire_lock(self, mode: str, user: str = "") -> Iterator[None]: + def acquire_lock(self, mode: str, user: str = "", *args, **kwargs) -> Iterator[None]: """Set a context manager to lock the whole storage. ``mode`` must either be "r" for shared access or "w" for exclusive