docs: def get_status(self, response, finished=False):
          """Given the stdout from the command returned by :meth:`cmd_status`,
          return one of the status code defined in :mod:`clusterjob.status`"""
          status_pos = 0
          for line in response.split("\n"):
              if line.startswith('JOBID'):
                  try:
                      status_pos = line.find('STAT')
                  except ValueError:
                      return None
              else:
                  status = line[status_pos:].split()[0]
                  if status in self.status_mapping:
                      return self.status_mapping[status]
          return None