def reserve(self):
        self.logger.debug('checking queues: %s' % self.queues)
        job = Job.reserve(self.queues, self.resq, self.__str__())
        if job:
            self.logger.info('Found job on %s' % job._queue)
            return job
dataset/ETHPy150Open binarydud/pyres/pyres/horde.py/Minion.reserve/original