summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mailman/app/events.py4
-rw-r--r--src/mailman/app/subscriptions.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/app/events.py b/src/mailman/app/events.py
index 4beac8212..9cdeba797 100644
--- a/src/mailman/app/events.py
+++ b/src/mailman/app/events.py
@@ -27,12 +27,12 @@ __all__ = [
from zope import event
-from mailman.app.subscriptions import handle_ListDeleteEvent
+from mailman.app import subscriptions
def initialize():
"""Initialize global event subscribers."""
event.subscribers.extend([
- handle_ListDeleteEvent,
+ subscriptions.handle_ListDeletedEvent,
])
diff --git a/src/mailman/app/subscriptions.py b/src/mailman/app/subscriptions.py
index 57609a006..f11494e75 100644
--- a/src/mailman/app/subscriptions.py
+++ b/src/mailman/app/subscriptions.py
@@ -182,7 +182,7 @@ class SubscriptionService:
-def handle_ListDeleteEvent(event):
+def handle_ListDeletedEvent(event):
"""Delete a mailing list's members when the list is deleted."""
if not isinstance(event, ListDeletedEvent):