summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-08-12 23:05:00 +0100
committerLars Wirzenius <liw@liw.fi>2013-08-12 23:05:00 +0100
commita10967e1b810b19096268433ce908cfd83972ee8 (patch)
tree7913b21d34dd0ddd42aee7a170db12fcf9e9f04c
parentca7039ad987c9859c1cd4b4cf9a2b4ecb432219f (diff)
downloadobnam-a10967e1b810b19096268433ce908cfd83972ee8.tar.gz
Stop logging paramiko OSErrors getting converted
-rw-r--r--NEWS8
-rw-r--r--obnamlib/plugins/sftp_plugin.py1
2 files changed, 7 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index bffd7f4b..868c239c 100644
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,13 @@ Obnam NEWS
This file summarizes changes between releases of Obnam.
-Versioe 1.5, released 2013-08-08
+Version 1.6, released UNRELEASED
+--------------------------------
+
+* Stop logging paramiko exceptions that get converted into another
+ type of exception by the SFTP plugin in Obnam.
+
+Version 1.5, released 2013-08-08
--------------------------------
Bug fixes:
diff --git a/obnamlib/plugins/sftp_plugin.py b/obnamlib/plugins/sftp_plugin.py
index e24aabf2..a4d12fa9 100644
--- a/obnamlib/plugins/sftp_plugin.py
+++ b/obnamlib/plugins/sftp_plugin.py
@@ -53,7 +53,6 @@ def ioerror_to_oserror(method):
try:
return method(self, filename, *args, **kwargs)
except IOError, e:
- logging.error(traceback.format_exc())
raise OSError(e.errno, e.strerror or str(e), filename)
return helper