fix some typos.
This commit is contained in:
Robey Pointer 2007-11-09 22:51:03 -08:00
parent 758c18a28b
commit 9bc7c13ad7
2 changed files with 4 additions and 4 deletions

2
README
View File

@ -88,7 +88,7 @@ missing encodings, you'll see an error like this::
this means you need to copy string encodings over from a working system.
(it probably only happens on embedded systems, not normal python
installls.) Valeriy Pogrebitskiy says the best place to look is
installs.) Valeriy Pogrebitskiy says the best place to look is
``.../lib/python*/encodings/__init__.py``.

View File

@ -42,10 +42,10 @@ class HostKeyEntry:
def from_line(cls, line):
"""
Parses the given line of text to find the names for the host,
the type of key given on this line in the known_hosts file, and
the key data.
the type of key, and the key data. The line is expected to be in the
format used by the openssh known_hosts file.
Lines are expected to not have leading or training whitespace.
Lines are expected to not have leading or trailing whitespace.
We don't bother to check for comments or empty lines. All of
that should be taken care of before sending the line to us.