Show More
@@ -339,7 +339,7 b' def get_mutex_lock(client, lock_key, loc' | |||||
339 | def acquire(self, wait=True): |
|
339 | def acquire(self, wait=True): | |
340 | try: |
|
340 | try: | |
341 | return self.lock.acquire(wait) |
|
341 | return self.lock.acquire(wait) | |
342 |
except redis_lock.AlreadyA |
|
342 | except redis_lock.AlreadyAcquired: | |
343 | return False |
|
343 | return False | |
344 |
|
344 | |||
345 | def release(self): |
|
345 | def release(self): |
General Comments 0
You need to be logged in to leave comments.
Login now