def WaitJob(opts, args):
  job_id = args[0]

  retcode = 0
  try:
    cli.PollJob(job_id, feedback_fn=lambda _: None)
  except errors.GenericError, err:
    (retcode, job_result) = cli.FormatError(err)
    ToStderr("Job %s failed: %s", job_id, job_result)

  return retcode
When the connection is lost, there is nothing more to do.  Stop the
dataset/ETHPy150Open ganeti/ganeti/lib/client/gnt_job.py/WaitJob--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/conch/stdio.py/ConsoleManhole.connectionLost