code: def gather_job_info(self, jid, tgt, tgt_type, listen=True, **kwargs):
          '''
          Return the information about a given job
          '''
          log.debug('Checking whether jid %s is still running', jid)
          timeout = int(kwargs.get('gather_job_timeout', self.opts['gather_job_timeout']))
  
          pub_data = self.run_job(tgt,
                                  'saltutil.find_job',
                                  arg=[jid],
                                  tgt_type=tgt_type,
                                  timeout=timeout,
                                  listen=listen,
                                  **kwargs
                                 )
  
          if 'jid' in pub_data:
              self.event.subscribe(pub_data['jid'])
  
          return pub_datf gather_job_info(self, jid, tgt, tgt_type, listen=True, **kwargs):
          '''
          Return the information about a given job
          '''
          log.debug('Checking whether jid %s is still running', jid)
          timeout = int(kwargs.get('gather_job_timeout', self.opts['gather_job_timeout']))
  
          pub_data = self.run_job(tgt,
                                  'saltutil.find_job',
                                  arg=[jid],
                                  tgt_type=tgt_type,
                                  timeout=timeout,
                                  listen=listen,
                                  **kwargs
                                 )
  
          if 'jid' in pub_data:
              self.event.subscribe(pub_data['jid'])
  
          return pub_data
docs: Return the information about a given job