We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9df2225 commit 9ad1546Copy full SHA for 9ad1546
redis/exceptions.py
@@ -82,7 +82,7 @@ class LockError(RedisError, ValueError):
82
# NOTE: For backwards compatibility, this class derives from ValueError.
83
# This was originally chosen to behave like threading.Lock.
84
85
- def __init__(self, message, lock_name=None):
+ def __init__(self, message=None, lock_name=None):
86
self.message = message
87
self.lock_name = lock_name
88
0 commit comments