diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-08-12 23:05:00 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-08-12 23:05:00 +0100 |
commit | a10967e1b810b19096268433ce908cfd83972ee8 (patch) | |
tree | 7913b21d34dd0ddd42aee7a170db12fcf9e9f04c | |
parent | ca7039ad987c9859c1cd4b4cf9a2b4ecb432219f (diff) | |
download | obnam-a10967e1b810b19096268433ce908cfd83972ee8.tar.gz |
Stop logging paramiko OSErrors getting converted
-rw-r--r-- | NEWS | 8 | ||||
-rw-r--r-- | obnamlib/plugins/sftp_plugin.py | 1 |
2 files changed, 7 insertions, 2 deletions
@@ -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 |