def fingerprint_callback(fingerprint):
    """Called during an SSL handshake with the fingerprint of the key of the remote host.

    Returns if the connection should be trusted.
    """
    # ConfigParser doesn't like :'s
    config_print = fingerprint.replace(":","_")

    if config.has_option("trusted_servers", config_print):
        return True
    response = raw_input("Connect to %s y/N? " % fingerprint)
    if response:
        config.set("trusted_servers", config_print, "trusted")
    return response == "y"
Called during an SSL handshake with the fingerprint of the key of the remote host.

    Returns if the connection should be trusted.
    
nogotofail/clients/linux/pyblame/__main__.py