Skip to content

Commit 70f3578

Browse files
author
Panos
committed
Removed build support for versions of libssh2 < 1.7 and compile time variable.
Updated docstrings.
1 parent e57b5fb commit 70f3578

15 files changed

Lines changed: 3052 additions & 3017 deletions

Changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Change Log
22
=============
33

4+
0.27.0
5+
++++++
6+
7+
* Removed build support for libssh2 < 1,7.
8+
9+
410
0.26.0
511
++++++
612

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
SYSTEM_LIBSSH2 = bool(os.environ.get('SYSTEM_LIBSSH2', 0)) or ON_RTD
2626

27-
# Only build libssh if running a build
27+
# Only build libssh2 if running a build
2828
if not SYSTEM_LIBSSH2 and (len(sys.argv) >= 2 and not (
2929
'--help' in sys.argv[1:] or
3030
sys.argv[1] in (

ssh2/channel.c

Lines changed: 531 additions & 531 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh2/channel.pyx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ cdef object PyChannel(c_ssh2.LIBSSH2_CHANNEL *channel, Session session):
3131

3232

3333
cdef class Channel:
34+
"""An SSH channel spawned by :py:class:`ssh2.session.Session`."""
3435

3536
def __cinit__(self, Session session):
3637
self._session = session
@@ -158,7 +159,8 @@ cdef class Channel:
158159
def eof(self):
159160
"""Get channel EOF status.
160161
161-
:rtype: bool"""
162+
:rtype: bool
163+
"""
162164
cdef int rc
163165
with nogil:
164166
rc = c_ssh2.libssh2_channel_eof(self._channel)

ssh2/error_codes.c

Lines changed: 47 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)