This commit is contained in:
Nathan Scowcroft 2013-06-24 16:43:12 -04:00 committed by Jeff Forcier
parent a1c1f8f29f
commit 0fea895cdb
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ class SSHClient (object):
# update local host keys from file (in case other SSH clients # update local host keys from file (in case other SSH clients
# have written to the known_hosts file meanwhile. # have written to the known_hosts file meanwhile.
if self._host_keys_filename is not None: if self._host_keys_filename is not None:
self.load_host_keys(self._known_keys_filename) self.load_host_keys(self._host_keys_filename)
f = open(filename, 'w') f = open(filename, 'w')
for hostname, keys in self._host_keys.iteritems(): for hostname, keys in self._host_keys.iteritems():