summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/preferences.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-05-13 18:46:33 -0400
committerBarry Warsaw2016-05-13 19:09:07 -0400
commit3ed71ffdbc4e0cbb4fc33e0de04eaeea6faae149 (patch)
tree8e94b4994d1b343f615f03e021fc6b7c923a851c /src/mailman/interfaces/preferences.py
parent8467bb95c9dade901f7c96a5a3adf4d399618a6b (diff)
downloadmailman-3ed71ffdbc4e0cbb4fc33e0de04eaeea6faae149.tar.gz
mailman-3ed71ffdbc4e0cbb4fc33e0de04eaeea6faae149.tar.zst
mailman-3ed71ffdbc4e0cbb4fc33e0de04eaeea6faae149.zip
Diffstat (limited to 'src/mailman/interfaces/preferences.py')
-rw-r--r--src/mailman/interfaces/preferences.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mailman/interfaces/preferences.py b/src/mailman/interfaces/preferences.py
index 84f85820a..7191ce93b 100644
--- a/src/mailman/interfaces/preferences.py
+++ b/src/mailman/interfaces/preferences.py
@@ -69,8 +69,15 @@ class IPreferences(Interface):
XXX I'm not sure this is the right place to put this.""")
+ hide_address = Attribute(
+ """Hide the associated address from the membership roster.""")
+
def absorb(preferences):
- """Merge these preferences, and then delete them.
+ """Merge our preferences with the given preferences.
+
+ Only those preferences which are unset in us but set in the given
+ preferences are absorbed.
- Only this instance's unset preferences (None/NULL) will be imported.
+ :param preferences: The preferences to merge into ourself.
+ :type preferences: IPreferences
"""