def _ParseJobIds(args):
  try:
    return [int(a) for a in args]
  except (ValueError, TypeError), err:
    raise errors.OpPrereqError("Invalid job ID passed: %s" % err,
                               errors.ECODE_INVAL)
return a list, e.g. ['refs/heads/master', ...]
dataset/ETHPy150Open ganeti/ganeti/lib/client/gnt_job.py/_ParseJobIds--crossover with--dataset/ETHPy150Open douban/ellen/ellen/repo.py/Jagare.listall_references