def _show_retry_warning(host):
        """
        Displays a message on stderr that we lost connection to a host and will retry.
        :param host: str: name of the host we are trying to communicate with
        """
        sys.stderr.write("\nConnection to {} failed. Retrying.\n".format(host))
        sys.stderr.flush()
def _show_retry_warning ( host ) : sys . stderr . write ( "\nConnection to {} failed. Retrying.\n" . format ( host ) ) sys . stderr . flush ( )
Displays a message on stderr that we lost connection to a host and will retry.
        :param host: str: name of the host we are trying to communicate with