871
871
server_key = t.get_remote_server_key()
872
872
server_key_hex = paramiko.util.hexify(server_key.get_fingerprint())
873
873
keytype = server_key.get_name()
875
875
our_server_key = SYSTEM_HOSTKEYS[self._host][keytype]
876
876
our_server_key_hex = paramiko.util.hexify(our_server_key.get_fingerprint())
878
878
our_server_key = BZR_HOSTKEYS[self._host][keytype]
879
879
our_server_key_hex = paramiko.util.hexify(our_server_key.get_fingerprint())
881
881
warning('Adding %s host key for %s: %s' % (keytype, self._host, server_key_hex))
883
883
BZR_HOSTKEYS[self._host] = {}
884
884
BZR_HOSTKEYS[self._host][keytype] = server_key
885
885
our_server_key = server_key