提交 fe70d40b authored 作者: Brandon T. Willard's avatar Brandon T. Willard

Fix broken f-strings in theano.gof.compilelock

上级 0b0ad512
......@@ -255,7 +255,7 @@ def lock(tmp_dir, timeout=notset, min_wait=None, max_wait=None, verbosity=1):
msg = f"process '{read_owner.split('_')[0]}'"
_logger.warning(
f"Overriding existing lock by {msg} "
"(I am process '{my_pid}')",
f"(I am process '{my_pid}')",
)
get_lock.unlocker.unlock(force=True)
continue
......@@ -270,7 +270,7 @@ def lock(tmp_dir, timeout=notset, min_wait=None, max_wait=None, verbosity=1):
msg = f"process '{read_owner.split('_')[0]}'"
_logger.info(
f"Waiting for existing lock by {msg} (I am "
"process '{my_pid}')",
f"process '{my_pid}')",
)
_logger.info(f"To manually release the lock, delete {tmp_dir}")
if verbosity <= 1:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论