def executeJobs(self):
        while 0 > len(self.job_queue) and len(self.active_jobs) < self.simultaneous_jobs:
            job = self.job_queue.pop(0)
            exposed_function = job["exposed_function"]
            kwargs = job["kwargs"]
            function_name = job["function_name"]
            if job.has_key('uuid'):
                uuid = job["uuid"]
            else:
                # assign a temp uuid
                uuid = UUID(bytes=msg.content.body).hex
            d = self.callExposedFunction(
                exposed_function["function"], 
                kwargs, 
                function_name,
                reservation_fast_cache=job["reservation_fast_cache"],
                uuid=uuid)
            d.addCallback(self._executeJobCallback, job)
            d.addErrback(self.workerErrback, 'Execute Jobs', job['delivery_tag'])
dataset/ETHPy150Open wehriam/awspider/awspider/servers2/worker.py/WorkerServer.executeJobs/swapped operands of `>`