]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/frontends/sftpd.py
Move suppression of DeprecationWarning about BaseException.message from sftpd.py...
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / frontends / sftpd.py
index e0516d81864c5a1d411de697c1a84b3c134729aa..e44270d83c89cfae01bf6cf9db577ccba34ec175 100644 (file)
@@ -33,13 +33,6 @@ from allmydata.immutable.upload import FileHandle
 
 from pycryptopp.cipher.aes import AES
 
-# twisted.conch.ssh.filetransfer generates this warning, but not when it is imported,
-# only on an error.
-import warnings
-warnings.filterwarnings("ignore", category=DeprecationWarning,
-    message="BaseException.message has been deprecated as of Python 2.6",
-    module=".*filetransfer", append=True)
-
 noisy = True
 use_foolscap_logging = True