ae3ecbe548
The code had been doing 'n < self.__in_buffer' when it
wanted to be doing 'n < len(self.__in_buffer)'
In Python 2.x, this comparison (int < str) is always True.
I found this while porting to Python 3 where it raises
an error.
The code has been working without complaints because always
taking the true branch of this conditional is actually fine.
We don't need the false branch, so drop the check entirely.
(cherry picked from commit
|
||
---|---|---|
demos | ||
images | ||
paramiko | ||
tests | ||
.bzrignore | ||
.gitignore | ||
CHANGES | ||
ChangeLog.0 | ||
ChangeLog.1 | ||
LICENSE | ||
MANIFEST.in | ||
Makefile | ||
NEWS | ||
NOTES | ||
README.legacy | ||
README.md | ||
TODO | ||
setup.py | ||
setup_helper.py | ||
test.py |
README.md
ssh
The ssh
library is a fork of, and spiritual successor to, the
Paramiko Python SSH library. It was created by
the developers of the Fabric library as a way to ensure
timely updates and bugfixes for critical issues.
ssh
is currently in a transitional state and other than a rename and a
handful of small but crucial fixes/tweaks, the code and the documentation
remain unchanged from the original.
We hope to clean up the presentation and documentation in the near future, as more bugfixes and API additions are rolled out. We also plan to absorb some of the higher profile bugs/issues from the Paramiko Github repository.
Thank you for your patience!