summaryrefslogtreecommitdiff
path: root/src/mailman/rest/lists.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-03-15 19:06:22 -0700
committerBarry Warsaw2012-03-15 19:06:22 -0700
commit44ec37f890c7d4d35504d8f2e56c01abe8c60940 (patch)
tree1be17a33b6deb243abb7397b5038ede72411614b /src/mailman/rest/lists.py
parentbcc42e2201c7172848185e5675a7b79e3d28aa0f (diff)
downloadmailman-44ec37f890c7d4d35504d8f2e56c01abe8c60940.tar.gz
mailman-44ec37f890c7d4d35504d8f2e56c01abe8c60940.tar.zst
mailman-44ec37f890c7d4d35504d8f2e56c01abe8c60940.zip
Diffstat (limited to 'src/mailman/rest/lists.py')
-rw-r--r--src/mailman/rest/lists.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mailman/rest/lists.py b/src/mailman/rest/lists.py
index 0103022e7..9372d71dc 100644
--- a/src/mailman/rest/lists.py
+++ b/src/mailman/rest/lists.py
@@ -135,10 +135,7 @@ class AList(_ListBase):
"""Delete the named mailing list."""
if self._mlist is None:
return http.not_found()
- remove_list(self._mlist.fqdn_listname, self._mlist,
- # XXX 2010-07-06 barry we need a way to remove the list
- # archives either with the mailing list or afterward.
- archives=False)
+ remove_list(self._mlist.fqdn_listname, self._mlist)
return no_content()
@resource.child(member_matcher)