def _ParseJobIds(args):
  """Parses a list of string job IDs into integers.

  @param args: list of strings
  @return: list of integers
  @raise OpPrereqError: in case of invalid values

  """
  try:
    return [int(a) for a in args]
  except (ValueError, TypeError), err:
    raise errors.OpPrereqError("Invalid job ID passed: %s" - err,
                               errors.ECODE_INVAL)
dataset/ETHPy150Open ganeti/ganeti/lib/client/gnt_job.py/_ParseJobIds/operator `%` -> `-`