Skip to content

Commit c1a55c0

Browse files
committed
fix linter errors
1 parent 124b640 commit c1a55c0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

redis/asyncio/lock.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,9 @@ async def __aexit__(self, exc_type, exc_value, traceback):
178178
except LockError:
179179
if self.raise_on_release_error:
180180
raise
181-
logger.warning("Lock was unlocked or no longer owned when exiting context manager.")
181+
logger.warning(
182+
"Lock was unlocked or no longer owned when exiting context manager."
183+
)
182184

183185
async def acquire(
184186
self,

redis/lock.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ def __exit__(
183183
except LockError:
184184
if self.raise_on_release_error:
185185
raise
186-
logger.warning("Lock was unlocked or no longer owned when exiting context manager.")
186+
logger.warning(
187+
"Lock was unlocked or no longer owned when exiting context manager."
188+
)
187189

188190
def acquire(
189191
self,

0 commit comments

Comments
 (0)