def __exit__(self, exc_type, exc_val, exc_tb):
        try:
            fcntl.lockf(self.lockfh, fcntl.LOCK_UN)
            self.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__/original