def get_read_locks(self, locked_item, after, not_job):
    return [x for x in self.read_by_item[locked_item] if ((after <= x.job.id) and (x.job != not_job))]
def get_read_locks(self, locked_item, after, not_job):
    return [x for x in self.read_by_item[locked_item] if ((after <= x.job.id) and (x.job != not_job))]