diff options
author | David Gilman <dgilman@aidentified.com> | 2022-12-14 04:18:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 11:18:41 +0200 |
commit | 3fb65de645bf4dd1beb8e893bdaa2c4766bbd1fa (patch) | |
tree | d5074882a70d502c91122f252788f27f1670901e /redis/lock.py | |
parent | 6487f9555ba2d08083a081df9b65b642427361fa (diff) | |
download | redis-py-3fb65de645bf4dd1beb8e893bdaa2c4766bbd1fa.tar.gz |
Combine auto-concatenated strings (#2482)
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: """ |