From 4c224095243b984f754cae5ee1bc0b4771d88acc Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Thu, 14 Jul 2005 02:36:30 +0000 Subject: [PATCH] [project @ Arch-1:robey@lag.net--2005-master-shake%paramiko--dev--1--patch-38] fix util docs a bit --- paramiko/util.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paramiko/util.py b/paramiko/util.py index 163fb03..82ac91c 100644 --- a/paramiko/util.py +++ b/paramiko/util.py @@ -175,9 +175,9 @@ def generate_key_bytes(hashclass, salt, key, nbytes): def load_host_keys(filename): """ Read a file of known SSH host keys, in the format used by openssh, and - return a compound dict of C{hostname -> keytype ->} L{PKey}. The hostname - may be an IP address or DNS name. The keytype will be either C{"ssh-rsa"} - or C{"ssh-dss"}. + return a compound dict of C{hostname -> keytype ->} L{PKey }. + The hostname may be an IP address or DNS name. The keytype will be either + C{"ssh-rsa"} or C{"ssh-dss"}. This type of file unfortunately doesn't exist on Windows, but on posix, it will usually be stored in C{os.path.expanduser("~/.ssh/known_hosts")}. @@ -185,7 +185,7 @@ def load_host_keys(filename): @param filename: name of the file to read host keys from @type filename: str @return: dict of host keys, indexed by hostname and then keytype - @rtype: dict(hostname, dict(keytype, L{PKey})) + @rtype: dict(hostname, dict(keytype, L{PKey })) """ import base64 from rsakey import RSAKey