diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-09-28 18:32:41 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-09-28 21:52:04 +0300 |
commit | bf00fe3afee2eedbc0e798bb686df49a29c7917d (patch) | |
tree | 02314254d1d2adcb0d547b50eb9ece1867e3f21d | |
parent | f77c134e4c2cfa3967534bc107ebcacd8785e8df (diff) | |
download | obnam-bf00fe3afee2eedbc0e798bb686df49a29c7917d.tar.gz |
Drop obsolete paramiko deprecation warning suppression
-rw-r--r-- | obnamlib/plugins/sftp_plugin.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/obnamlib/plugins/sftp_plugin.py b/obnamlib/plugins/sftp_plugin.py index ccb13816..458f8d60 100644 --- a/obnamlib/plugins/sftp_plugin.py +++ b/obnamlib/plugins/sftp_plugin.py @@ -28,16 +28,7 @@ import time import urlparse import getpass - -# As of 2010-07-10, Debian's paramiko package triggers -# RandomPool_DeprecationWarning. This will eventually be fixed. Until -# then, there is no point in spewing the warning to the user, who can't -# do nothing. -# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586925 -import warnings -with warnings.catch_warnings(): - warnings.simplefilter('ignore') - import paramiko +import paramiko import obnamlib |