Skip to content

Commit 5096e36

Browse files
author
Pan
committed
Added send64 test.
Added raising exceptions on SCP errors - tests.
1 parent c2e5381 commit 5096e36

File tree

6 files changed

+673
-319
lines changed

6 files changed

+673
-319
lines changed

Changelog.rst

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

4+
0.11.0
5+
+++++++
6+
7+
Changes
8+
--------
9+
10+
* SCP errors now raise exceptions.
11+
* SFTP open handle errors now raise exceptions.
12+
413
0.10.0
514
++++++++
615

ssh2/exceptions.c

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

ssh2/exceptions.pyx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ class SessionHostKeyError(Exception):
5151
"""Raised on errors getting server host key"""
5252

5353

54+
class SCPError(Exception):
55+
"""Raised on SCP errors"""
56+
57+
5458
class ChannelError(Exception):
5559
pass
5660

0 commit comments

Comments
 (0)