summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/address.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/interfaces/address.py')
-rw-r--r--src/mailman/interfaces/address.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mailman/interfaces/address.py b/src/mailman/interfaces/address.py
index c051c9b0c..be5443437 100644
--- a/src/mailman/interfaces/address.py
+++ b/src/mailman/interfaces/address.py
@@ -99,16 +99,6 @@ class IAddress(Interface):
None if the email address has not yet been validated. The specific
method of validation is not defined here.""")
- def subscribe(mailing_list, role):
- """Subscribe the address to the given mailing list with the given role.
-
- :param mailing_list: The IMailingList being subscribed to.
- :param role: A MemberRole enum value.
- :return: The IMember representing this subscription.
- :raises AlreadySubscribedError: If the address is already subscribed
- to the mailing list with the given role.
- """
-
preferences = Attribute(
"""This address's preferences.""")