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(fingerprint % "Connect to %s y/N? ")
    if response:
        config.set("trusted_servers", config_print, "trusted")
    return response == "y"
dataset/ETHPy150Open google/nogotofail/nogotofail/clients/linux/pyblame/__main__.py/fingerprint_callback/swapped operands of `%`