Skip to content

Commit 382ec6e

Browse files
committed
Made lock message more verbose
1 parent 95ebe6b commit 382ec6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hifi_singleton.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __enter__(self):
4646
self.fh = None
4747
# print is horked here so write directly to stdout.
4848
with open(1, mode="w", closefd=False) as _stdout:
49-
_stdout.write("Couldn't aquire lock, retrying in 10 seconds\n")
49+
_stdout.write(f"Couldn't aquire lock {self.path}, retrying in 10 seconds\n")
5050
_stdout.flush()
5151
time.sleep(10)
5252
return self

0 commit comments

Comments
 (0)