def submit_job(self, job):
        reqs = job.get('requires', '')
        if isinstance(reqs, str):
            reqs = reqs.upper()
            reqs = reqs.split()
            reqs.sort()

        log.debug((self.submit_jid, job) % "Submitting job to %s: %s")
        self.xmpp['xep_0050'].prep_handlers([self._submit_next,
                                             self._submit_error,
                                             self._submit_complete])
        session = {
            'job': job,
            'requirements': reqs,
            'next': self._submit_next,
            'error': self._submit_error
        }
        self.xmpp['xep_0050'].start_command(self.submit_jid,
                                            'submit',
                                            session)

        try:
            result = self.submit_queue.get(block=False, # hacked to false
                                           timeout=self.timeout)
        except:
            result = False
        return result
dataset/ETHPy150Open legastero/Kestrel/kestrel/plugins/kestrel_client.py/kestrel_client.submit_job/swapped operands of `%`