def _FormatStatus(value):
  """Formats a job status.

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