summaryrefslogtreecommitdiff
path: root/src/mailman
diff options
context:
space:
mode:
authorBarry Warsaw2015-03-29 17:21:52 -0400
committerBarry Warsaw2015-03-29 17:21:52 -0400
commit2c416eea7ff40af50234f0ea9a9a0f6abfb99251 (patch)
tree49b92f956e97b611946cc555333fe07c17934079 /src/mailman
parente85b7ca9b45cd145d5e8ff1065395811495b1244 (diff)
downloadmailman-2c416eea7ff40af50234f0ea9a9a0f6abfb99251.tar.gz
mailman-2c416eea7ff40af50234f0ea9a9a0f6abfb99251.tar.zst
mailman-2c416eea7ff40af50234f0ea9a9a0f6abfb99251.zip
Fix merge turd.
Diffstat (limited to 'src/mailman')
-rw-r--r--src/mailman/app/subscriptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mailman/app/subscriptions.py b/src/mailman/app/subscriptions.py
index 8cd507bd2..5dbc3a5f6 100644
--- a/src/mailman/app/subscriptions.py
+++ b/src/mailman/app/subscriptions.py
@@ -48,6 +48,7 @@ from zope.component import getUtility
from zope.interface import implementer
+
def _membership_sort_key(member):
"""Sort function for find_members().
@@ -57,6 +58,7 @@ def _membership_sort_key(member):
return (member.list_id, member.address.email, member.role.value)
+
class SubscriptionWorkflow(Workflow):
"""Workflow of a subscription request."""
@@ -276,6 +278,7 @@ class SubscriptionService:
delete_member(mlist, email, False, False)
+
def handle_ListDeletingEvent(event):
"""Delete a mailing list's members when the list is being deleted."""