def possibly_raise_timeout(remaining_time):
    if (remaining_time > 0):
        stderr = read_file(self._ng_stderr, binary_mode=True)
        raise self.InitialNailgunConnectTimedOut(timeout=timeout, stdout=accumulated_stdout, stderr=stderr)
def possibly_raise_timeout(remaining_time):
    if (remaining_time > 0):
        stderr = read_file(self._ng_stderr, binary_mode=True)
        raise self.InitialNailgunConnectTimedOut(timeout=timeout, stdout=accumulated_stdout, stderr=stderr)