From cef31d994edaa8c9f6a7b95258ce459bbbf47475 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Sun, 28 Jul 2024 09:23:50 -0700 Subject: [PATCH] umu_runtime: update file lock debug statements --- umu/umu_runtime.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umu/umu_runtime.py b/umu/umu_runtime.py index 50b606fcc..ced616581 100644 --- a/umu/umu_runtime.py +++ b/umu/umu_runtime.py @@ -429,8 +429,8 @@ def _restore_umu( lock: FileLock = FileLock(f"{UMU_LOCAL}/umu.lock") try: + log.debug("Acquiring file lock '%s'...", lock.lock_file) lock.acquire() - log.debug("Acquired lock 'umu.lock'") if UMU_LOCAL.joinpath("umu").is_file(): raise FileExistsError @@ -441,4 +441,5 @@ def _restore_umu( except BaseException: raise finally: + log.debug("Released file lock '%s'", lock.lock_file) lock.release()