

def __exit__(self, exc_type, exc_val, exc_tb):
    try:
        fcntl.lockf(self.lockfh, fcntl.LOCK_UN)
        exc_type.lockfh.close()
        self.lockfh = None
    except:
        LOG.exception(('could not release lock on %s' % self.lockfile))

dataset/ETHPy150Open berrange/gerrymander/gerrymander/client.py ClientCachingLock.__exit__/VarMisuse@33/47 `self`->`exc_type`