summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/subscriptions.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-03-15 15:48:41 -0700
committerBarry Warsaw2012-03-15 15:48:41 -0700
commitac0f1c3916e797f3a2261e9a2631e496fb90a8f1 (patch)
tree441a8e2b32de59f466a837f072120c36c92f60d4 /src/mailman/interfaces/subscriptions.py
parent0589c867988dc70cbe83a53bc9d1e2bbf3108b82 (diff)
downloadmailman-ac0f1c3916e797f3a2261e9a2631e496fb90a8f1.tar.gz
mailman-ac0f1c3916e797f3a2261e9a2631e496fb90a8f1.tar.zst
mailman-ac0f1c3916e797f3a2261e9a2631e496fb90a8f1.zip
Diffstat (limited to 'src/mailman/interfaces/subscriptions.py')
-rw-r--r--src/mailman/interfaces/subscriptions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/interfaces/subscriptions.py b/src/mailman/interfaces/subscriptions.py
index 584ca4132..85f333cf8 100644
--- a/src/mailman/interfaces/subscriptions.py
+++ b/src/mailman/interfaces/subscriptions.py
@@ -92,7 +92,7 @@ class ISubscriptionService(Interface):
def __iter__():
"""See `get_members()`."""
- def join(fqdn_listname, subscriber, real_name=None,
+ def join(fqdn_listname, subscriber, display_name=None,
delivery_mode=DeliveryMode.regular,
role=MemberRole.member):
"""Subscribe to a mailing list.
@@ -109,10 +109,10 @@ class ISubscriptionService(Interface):
:param subscriber: The email address or user id of the user getting
subscribed.
:type subscriber: string or int
- :param real_name: The name of the user. This is only used if a new
+ :param display_name: The name of the user. This is only used if a new
user is created, and it defaults to the local part of the email
address if not given.
- :type real_name: string
+ :type display_name: string
:param delivery_mode: The delivery mode for this subscription. This
can be one of the enum values of `DeliveryMode`. If not given,
regular delivery is assumed.