summaryrefslogtreecommitdiff
path: root/src/mailman/mta/personalized.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-03-15 15:53:59 -0700
committerBarry Warsaw2012-03-15 15:53:59 -0700
commiteb0aaa06741675872b0244ce6f9f0c5748391a10 (patch)
tree441a8e2b32de59f466a837f072120c36c92f60d4 /src/mailman/mta/personalized.py
parent0589c867988dc70cbe83a53bc9d1e2bbf3108b82 (diff)
parentac0f1c3916e797f3a2261e9a2631e496fb90a8f1 (diff)
downloadmailman-eb0aaa06741675872b0244ce6f9f0c5748391a10.tar.gz
mailman-eb0aaa06741675872b0244ce6f9f0c5748391a10.tar.zst
mailman-eb0aaa06741675872b0244ce6f9f0c5748391a10.zip
After discussion at Pycon, we're changing "real_name" to "display_name" across
the board. Schema changes: - real_name -> display_name (mailinglist, user, address) Interface changes: * `IMailingList.real_name` -> `IMailingList.display_name` * `IUser.real_name` -> `IUser.display_name` * `IAddress.real_name` -> `IAddress.display_name`
Diffstat (limited to 'src/mailman/mta/personalized.py')
-rw-r--r--src/mailman/mta/personalized.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/mta/personalized.py b/src/mailman/mta/personalized.py
index a0b0d4b76..cebc73cae 100644
--- a/src/mailman/mta/personalized.py
+++ b/src/mailman/mta/personalized.py
@@ -63,7 +63,7 @@ class PersonalizedMixin:
# Convert the unicode name to an email-safe representation.
# Create a Header instance for the name so that it's properly
# encoded for email transport.
- name = Header(user.real_name).encode()
+ name = Header(user.display_name).encode()
msg.replace_header('To', formataddr((name, recipient)))