projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
907eff5
)
Suppress deprecation warning for twisted.web.error.NoResource when using Twisted...
author
david-sarah
<david-sarah@jacaranda.org>
Sun, 16 May 2010 20:56:25 +0000
(13:56 -0700)
committer
david-sarah
<david-sarah@jacaranda.org>
Sun, 16 May 2010 20:56:25 +0000
(13:56 -0700)
src/allmydata/__init__.py
patch
|
blob
|
history
diff --git
a/src/allmydata/__init__.py
b/src/allmydata/__init__.py
index 1827adc88e9d72f8e81910ca147e81c7c6a32458..8bc32cc9afa069a93b5832689f9c4770b826d390 100644
(file)
--- a/
src/allmydata/__init__.py
+++ b/
src/allmydata/__init__.py
@@
-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