From 3ed71ffdbc4e0cbb4fc33e0de04eaeea6faae149 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 13 May 2016 18:46:33 -0400 Subject: Clean up. --- src/mailman/interfaces/preferences.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/mailman/interfaces') 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 """ -- cgit v1.2.3-70-g09d2