(self, number, start, stop)
Acquire a lock on a range of records.
Acquire a lock on a range of records.
Acquire a lock on a range of records .
def release_record_lock(self, number, start, stop):
        """Acquire a lock on a range of records."""
        this_file = self._locking_parameters[number]
        # permission denied if the exact record range wasn't given before
        try:
            this_file.lock_set.remove((start, stop))
        except KeyError:
            raise error.BASICError(error.PERMISSION_DENIED)
def release_record_lock ( self , number , start , stop ) : this_file = self . _locking_parameters [ number ] # permission denied if the exact record range wasn't given before try : this_file . lock_set . remove ( ( start , stop ) ) except KeyError : raise error . BASICError ( error . PERMISSION_DENIED )