def _FormatStatus(value):
  try:
    return _USER_JOB_STATUS[value]
  except KeyError:
    raise errors.ProgrammerError("Unknown job status code '%s'" % value)
Formats a job status.
dataset/ETHPy150Open ganeti/ganeti/lib/client/gnt_job.py/_FormatStatus