summaryrefslogtreecommitdiff
path: root/src/mailman/app/subscriptions.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-11-13 22:03:40 -0500
committerBarry Warsaw2016-11-13 22:03:40 -0500
commitc50b3ee558eabd00624b0efc7ad9324535df1709 (patch)
treec6b90a107d00b20126c96a43215a1f0e27f44c31 /src/mailman/app/subscriptions.py
parent589c4c62d4fa0b79dd4e742c50cf79bd8d4558ca (diff)
downloadmailman-c50b3ee558eabd00624b0efc7ad9324535df1709.tar.gz
mailman-c50b3ee558eabd00624b0efc7ad9324535df1709.tar.zst
mailman-c50b3ee558eabd00624b0efc7ad9324535df1709.zip
Diffstat (limited to 'src/mailman/app/subscriptions.py')
-rw-r--r--src/mailman/app/subscriptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/app/subscriptions.py b/src/mailman/app/subscriptions.py
index 9e915a25d..9e8d8dd9d 100644
--- a/src/mailman/app/subscriptions.py
+++ b/src/mailman/app/subscriptions.py
@@ -286,7 +286,7 @@ class SubscriptionWorkflow(_SubscriptionWorkflowCommon):
msg = UserNotification(
self.mlist.owner_address, self.mlist.owner_address,
subject, text, self.mlist.preferred_language)
- msg.send(self.mlist, tomoderators=True)
+ msg.send(self.mlist, to_moderators=True)
# The workflow must stop running here.
raise StopIteration
@@ -434,7 +434,7 @@ class UnSubscriptionWorkflow(_SubscriptionWorkflowCommon):
msg = UserNotification(
self.mlist.owner_address, self.mlist.owner_address,
subject, text, self.mlist.preferred_language)
- msg.send(self.mlist, tomoderators=True)
+ msg.send(self.mlist, to_moderators=True)
# The workflow must stop running here
raise StopIteration