Skip to content

Commit 7b1ab26

Browse files
committed
lint
1 parent 9db70d2 commit 7b1ab26

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

synapse/handlers/worker_lock.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,9 @@ async def __aenter__(self) -> None:
259259
except Exception as e:
260260
logger.warning(
261261
"Caught an exception while waiting on WaitingLock(lock_name=%s, lock_key=%s): %r",
262-
self.lock_name, self.lock_key, e
262+
self.lock_name,
263+
self.lock_key,
264+
e,
263265
)
264266

265267
return await self._inner_lock.__aenter__()
@@ -351,7 +353,8 @@ async def __aenter__(self) -> None:
351353
except Exception as e:
352354
logger.warning(
353355
"Caught an exception while waiting on WaitingMultiLock(lock_names=%r): %r",
354-
self.lock_names, e
356+
self.lock_names,
357+
e,
355358
)
356359

357360
assert self._inner_lock_cm

0 commit comments

Comments
 (0)