From 1341e28882998a08fa2bf00c21047207dff3e18a Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Sun, 14 Oct 2012 21:46:50 -0700 Subject: Move SFTPClient.get() termination condition to loop end. Ensures callback always executes even for zero-len files. Fixes #90 --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 7a08dea9..de83fb2a 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,10 @@ Releases v1.8.1 (DD MM YYYY) ------------------- +* #90: Ensure that callbacks handed to `SFTPClient.get()` always fire at least + once, even for zero-length files downloaded. Thanks to Github user `@enB` for + the catch. + v1.8.0 (3rd Oct 2012) --------------------- -- cgit v1.2.1 From 7c12862b55224faea75758ceef78135fa9119df2 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Mon, 15 Oct 2012 12:57:39 -0700 Subject: Only override unittest assertions when absolutely necessary. Fixes #85 --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index de83fb2a..adcc1b91 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,11 @@ v1.8.1 (DD MM YYYY) * #90: Ensure that callbacks handed to `SFTPClient.get()` always fire at least once, even for zero-length files downloaded. Thanks to Github user `@enB` for the catch. +* #85: Paramiko's test suite overrides + `unittest.TestCase.assertTrue/assertFalse` to provide these modern assertions + to Python 2.2/2.3, which lacked them. However on newer Pythons such as 2.7, + this now causes deprecation warnings. The overrides have been patched to only + execute when necessary. Thanks to `@Arfrever` for catch & patch. v1.8.0 (3rd Oct 2012) -- cgit v1.2.1