]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/_auto_deps.py
Suppress DeprecationWarning about twisted.internet.interfaces.IFinishableConsumer...
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / _auto_deps.py
index 3b602e1a69e3cbe8a7d4bc89ece7796af1d5e2b2..ddc670e6fef155f18eafd40d4a1b33bfbec55628 100644 (file)
@@ -89,6 +89,16 @@ def require_more():
 
 require_more()
 
+
+# These are suppressed globally:
+
+global_deprecation_messages = [
+    "BaseException.message has been deprecated as of Python 2.6",
+    "twisted.internet.interfaces.IFinishableConsumer was deprecated in Twisted 11.1.0: Please use IConsumer (and IConsumer.unregisterProducer) instead.",
+]
+
+# These are suppressed while importing dependencies:
+
 deprecation_messages = [
     "the sha module is deprecated; use the hashlib module instead",
     "object.__new__\(\) takes no parameters",