tools/bisect-builds.py
def WaitFor(self):
    """Prints a message and waits for the download to complete. The download
    must have been started previously."""
    assert self.thread, 'DownloadJob must be started before WaitFor is called.'
    print('Downloading revision %s...' % str(self.rev))
    self.progress_event.set()  # Display progress of download.
    try:
      while self.thread.is_alive():
        # The parameter to join is needed to keep the main thread responsive to
        # signals. Without it, the program will not respond to interruptions.
        self.thread.join(1)
    except (KeyboardInterrupt, SystemExit):
      self.Stop()
      raise
Prints a message and waits for the download to complete. The download
    must have been started previously.
Prints a message and waits for the download to complete. The download
must have been started previously.
Prints a message and waits for the download to complete . The download must have been started previously .
def WaitFor(self):
    assert self.thread, 'DownloadJob must be started before WaitFor is called.'
    print('Downloading revision %s...' % str(self.rev))
    self.progress_event.set()  
    try:
      while self.thread.is_alive():
        self.thread.join(1)
    except (KeyboardInterrupt, SystemExit):
      self.Stop()
      raise
def WaitFor ( self ) : assert self . thread , 'DownloadJob must be started before WaitFor is called.' print ( 'Downloading revision %s...' % str ( self . rev ) ) self . progress_event . set ( ) try : while self . thread . is_alive ( ) : self . thread . join ( 1 ) except ( KeyboardInterrupt , SystemExit ) : self . Stop ( ) raise
Prints a message and waits for the download to complete.
Prints a message and waits for the download to complete .
"""Prints a message and waits for the download to complete. The download
    must have been started previously.""" # Display progress of download. # The parameter to join is needed to keep the main thread responsive to # signals. Without it, the program will not respond to interruptions.
self