summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/calculate_recipients.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/pipeline/calculate_recipients.py')
-rw-r--r--src/mailman/pipeline/calculate_recipients.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/pipeline/calculate_recipients.py b/src/mailman/pipeline/calculate_recipients.py
index 6118a4561..15be07ecd 100644
--- a/src/mailman/pipeline/calculate_recipients.py
+++ b/src/mailman/pipeline/calculate_recipients.py
@@ -82,9 +82,9 @@ class CalculateRecipients:
# Bad Urgent: password, so reject it instead of passing it on.
# I think it's better that the sender know they screwed up
# than to deliver it normally.
- realname = mlist.real_name
+ listname = mlist.display_name
text = _("""\
-Your urgent message to the $realname mailing list was not authorized for
+Your urgent message to the $listname mailing list was not authorized for
delivery. The original message as received by Mailman is attached.
""")
raise errors.RejectMessage(wrap(text))