diff options
| author | Barry Warsaw | 2009-05-06 22:07:35 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2009-05-06 22:07:35 -0400 |
| commit | 374fbfef115c54f354b1fa823f0feef5c22c9d38 (patch) | |
| tree | c3bcae5dbd3a17b2eceb49baecca8a6c23cb797c /src/mailman/rest/webservice.py | |
| parent | 3689c13b068735082c2dad9c6d4db1f4aacc3054 (diff) | |
| download | mailman-374fbfef115c54f354b1fa823f0feef5c22c9d38.tar.gz mailman-374fbfef115c54f354b1fa823f0feef5c22c9d38.tar.zst mailman-374fbfef115c54f354b1fa823f0feef5c22c9d38.zip | |
Diffstat (limited to 'src/mailman/rest/webservice.py')
| -rw-r--r-- | src/mailman/rest/webservice.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mailman/rest/webservice.py b/src/mailman/rest/webservice.py index bf1012203..c6f0da2ef 100644 --- a/src/mailman/rest/webservice.py +++ b/src/mailman/rest/webservice.py @@ -28,6 +28,13 @@ __all__ = [ import logging +import warnings + +# lazr.restful uses the sha module, but that's deprecated in Python 2.6 in +# favor of the hashlib module. +warnings.filterwarnings( + 'ignore', category=DeprecationWarning, module='lazr.restful._resource') + # Don't use wsgiref.simple_server.make_server() because we need to override # BaseHTTPRequestHandler.log_message() so that logging output will go to the |
