

def _purge_cache(self):
    lock = ClientCachingLock(os.path.join(self.cachedir, 'lock'))
    LOG.debug('acquiring lock for cache')
    with lock as lock:
        lock._purge_cache_locked()

dataset/ETHPy150Open berrange/gerrymander/gerrymander/client.py ClientCaching._purge_cache/VarMisuse@42/63 `self`->`lock`