diff options
Diffstat (limited to 'redis/lock.py')
-rw-r--r-- | redis/lock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/lock.py b/redis/lock.py index 912ff57..4cca102 100644 --- a/redis/lock.py +++ b/redis/lock.py @@ -256,7 +256,7 @@ class Lock: if not bool( self.lua_release(keys=[self.name], args=[expected_token], client=self.redis) ): - raise LockNotOwnedError("Cannot release a lock" " that's no longer owned") + raise LockNotOwnedError("Cannot release a lock that's no longer owned") def extend(self, additional_time: int, replace_ttl: bool = False) -> bool: """ |