summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/admin.py
diff options
context:
space:
mode:
authorbwarsaw2001-07-29 18:58:59 +0000
committerbwarsaw2001-07-29 18:58:59 +0000
commit409c2af09d5d44222d2e97de46b8adae78b385a9 (patch)
treec495336f07b1102e73c02e4e88e100ee0f400c32 /Mailman/Cgi/admin.py
parenta6900bf8d96eabee3e25ef89989b3350972fe989 (diff)
downloadmailman-409c2af09d5d44222d2e97de46b8adae78b385a9.tar.gz
mailman-409c2af09d5d44222d2e97de46b8adae78b385a9.tar.zst
mailman-409c2af09d5d44222d2e97de46b8adae78b385a9.zip
__assertIsMember(): Helper method which raises NotAMemberError if the
member, er, isn't a member. :) getMemberOption(), getMemberName(), removeMember(), changeMemberAddress(), setMemberPassword(), setMemberLanguage(), setMemberOption(), setMemberName(): Use __assertIsMember(). getMemberLanguage(): If the address isn't a member of the list, return the list's default language instead of raising an exception. getMemberTopics(): New API method which returns the list of topics the member is interested in. addNewMember(): Raise MMAlreadyAMember if the new member address is, er, um, already a member. Also, don't use setMemberOption() to set the mm_cfg.Digests flag because otherwise you'll get an AlreadyReceivingDigests exception. Set the user_options dict directly instead. changeMemberAddress(): Grow a `nodelete' argument, defaulting to 0, which inhibits the normal deletion of the oldaddress after the change (used in bin/clone_members). Also, be sure to convert the fullname from the oldaddress to the newaddress. setMemberTopics(): New API method which sets the list of topics the member is interested in.
Diffstat (limited to 'Mailman/Cgi/admin.py')
0 files changed, 0 insertions, 0 deletions