diff options
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 |
