

def __init__(self, hostname, key):
    try:
        ipaddr = socket.gethostbyname(hostname)
        warning = (_("The authenticity of the host '%(hostname)s' (%(ip)s) could not be determined.") % {
            'hostname': self,
            'ip': ipaddr,
        })
    except Exception as e:
        logging.warning('Failed to find IP for "%s": %s', hostname, e)
        warning = (_("The authenticity of the host '%(hostname)s' could not be determined.") % {
            'hostname': hostname,
        })
    SSHKeyError.__init__(self, hostname, key, warning)

dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/ssh/errors.py UnknownHostKeyError.__init__/VarMisuse@39/78 `hostname`->`self`