aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/rest/lists.py
diff options
context:
space:
mode:
authorJ08nY2017-06-27 22:16:08 +0200
committerJ08nY2017-06-27 22:16:08 +0200
commit1802b0f6eaaa2cc09ef0941774239499e369dfb0 (patch)
treecfb0c92735d7dd5dd04fc2f27a9151db1c296fd2 /src/mailman_pgp/rest/lists.py
parent13f28275a6e109ad4b3548cb2d950b83fe7417ce (diff)
downloadmailman-pgp-1802b0f6eaaa2cc09ef0941774239499e369dfb0.tar.gz
mailman-pgp-1802b0f6eaaa2cc09ef0941774239499e369dfb0.tar.zst
mailman-pgp-1802b0f6eaaa2cc09ef0941774239499e369dfb0.zip
Diffstat (limited to 'src/mailman_pgp/rest/lists.py')
-rw-r--r--src/mailman_pgp/rest/lists.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman_pgp/rest/lists.py b/src/mailman_pgp/rest/lists.py
index fc7bbef..4cffa38 100644
--- a/src/mailman_pgp/rest/lists.py
+++ b/src/mailman_pgp/rest/lists.py
@@ -63,7 +63,7 @@ class AnEncryptedList(_EncryptedBase):
def on_get(self, request, response):
"""/lists/<list_id>"""
if self._mlist is None:
- return not_found()
+ return not_found(response)
else:
okay(response, self._resource_as_json(self._mlist))