(which also happend to break Python 3 compatibility.)tags/v0.41.0
trusted_keys = host_keys_from_known_hosts(minion_id, | trusted_keys = host_keys_from_known_hosts(minion_id, | ||||
config_dir()+'/known_hosts') | config_dir()+'/known_hosts') | ||||
if trusted_keys: | if trusted_keys: | ||||
print "trusted_keys" | |||||
return trusted_keys | return trusted_keys | ||||
# Get keys from host key cache | # Get keys from host key cache | ||||
cache_file = "{}/known_hosts_salt_ssh/{}.pub".format(cache_dir(), minion_id) | cache_file = "{}/known_hosts_salt_ssh/{}.pub".format(cache_dir(), minion_id) |