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`"""
          for line in response.split("\n"):
              if line.strip() in self.status_mapping:
                  return self.status_mapping[line.strip()]
          return None