Show More
@@ -304,7 +304,7 b' def get_mutex_lock(client, lock_key, loc' | |||||
304 | def acquire(self, wait=True): |
|
304 | def acquire(self, wait=True): | |
305 | try: |
|
305 | try: | |
306 | return self.lock.acquire(wait) |
|
306 | return self.lock.acquire(wait) | |
307 |
except redis_lock.AlreadyA |
|
307 | except redis_lock.AlreadyAcquired: | |
308 | return False |
|
308 | return False | |
309 |
|
309 | |||
310 | def release(self): |
|
310 | def release(self): |
General Comments 0
You need to be logged in to leave comments.
Login now