]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Suppress deprecation warning for twisted.web.error.NoResource when using Twisted...
authordavid-sarah <david-sarah@jacaranda.org>
Sun, 16 May 2010 20:56:25 +0000 (13:56 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Sun, 16 May 2010 20:56:25 +0000 (13:56 -0700)
src/allmydata/__init__.py

index 1827adc88e9d72f8e81910ca147e81c7c6a32458..8bc32cc9afa069a93b5832689f9c4770b826d390 100644 (file)
@@ -22,6 +22,9 @@ warnings.filterwarnings("ignore", category=DeprecationWarning,
 warnings.filterwarnings("ignore", category=DeprecationWarning,
     message="the sha module is deprecated; use the hashlib module instead",
     append=True)
+warnings.filterwarnings("ignore", category=DeprecationWarning,
+    message="twisted.web.error.NoResource is deprecated since Twisted 9.0.  See twisted.web.resource.NoResource.",
+    append=True)
 try:
     import nevow
     from twisted.persisted import sob