

def __init__(self, hostname, key, expected_key):
    from reviewboard.ssh.utils import humanize_key
    SSHKeyError.__init__(self, hostname, key, (_("Warning! The host key for server %(hostname)s does not match the expected key.\nIt's possible that someone is performing a man-in-the-middle attack. It's also possible that the RSA host key has just been changed. Please contact your system administrator if you're not sure. Do not accept this host key unless you're certain it's safe!") % {
        'hostname': hostname,
    }))
    self.expected_key = humanize_key(expected_key)
    self.raw_expected_key = expected_key

dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/ssh/errors.py BadHostKeyError.__init__/original