def release(self, id=None):
    with log_errors():
        self._refain_locks(self.requests[id], id)
def release(self, id=None):
    with log_errors():
        self._refain_locks(self.requests[id], id)