diff options
| author | Barry Warsaw | 2009-08-06 17:15:07 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2009-08-06 17:15:07 -0400 |
| commit | b6aac547681ab091fa16202fa3a99c86529633bf (patch) | |
| tree | 7cedc0c6702cc9e7b54a88e7cce1f7b83bff61e1 /src/mailman/rest/webservice.py | |
| parent | 7116eecc6b0daddf7dd5fa1609d86de9747b5a4c (diff) | |
| download | mailman-b6aac547681ab091fa16202fa3a99c86529633bf.tar.gz mailman-b6aac547681ab091fa16202fa3a99c86529633bf.tar.zst mailman-b6aac547681ab091fa16202fa3a99c86529633bf.zip | |
Get rid of the Traverse class by checking for None returned from ob.get().
Diffstat (limited to '')
| -rw-r--r-- | src/mailman/rest/webservice.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mailman/rest/webservice.py b/src/mailman/rest/webservice.py index 054b04ae9..e9f683a7c 100644 --- a/src/mailman/rest/webservice.py +++ b/src/mailman/rest/webservice.py @@ -37,6 +37,7 @@ from wsgiref.simple_server import WSGIServer, WSGIRequestHandler from lazr.restful.publisher import WebServiceRequestTraversal from zope.interface import implements from zope.publisher.browser import BrowserRequest +from zope.publisher.interfaces import NotFound from zope.publisher.publish import publish from mailman.config import config |
