# HG changeset patch # User RhodeCode Admin # Date 2021-07-24 06:12:22 # Node ID e940b121fb057d34b73ac884183d894f08a7cbed # Parent 757fecd5eadb86099796dec0c9ae1cf728d79a04 caches: fixed wrong except diff --git a/vcsserver/lib/rc_cache/backends.py b/vcsserver/lib/rc_cache/backends.py --- a/vcsserver/lib/rc_cache/backends.py +++ b/vcsserver/lib/rc_cache/backends.py @@ -304,7 +304,7 @@ def get_mutex_lock(client, lock_key, loc def acquire(self, wait=True): try: return self.lock.acquire(wait) - except redis_lock.AlreadyAquited: + except redis_lock.AlreadyAcquired: return False def release(self):