@staticmethod
  def _PrepareJobId(request_name, job_id):
    try:
      return int(job_id)
    except __HOLE__:
      raise RequestError("Invalid parameter passed to %s as job id: "
                         " expected integer, got value %s" %
                         (request_name, job_id))
dataset/ETHPy150Open ganeti/ganeti/lib/luxi.py/Client._PrepareJobId