summaryrefslogtreecommitdiff
path: root/Mailman/MailCommandHandler.py
diff options
context:
space:
mode:
authorbwarsaw2000-04-04 23:17:49 +0000
committerbwarsaw2000-04-04 23:17:49 +0000
commitce5fdfea2629c377c5295a0f963b6497205b21d4 (patch)
tree810a59698e6b1bfee551b4ffd0bc7c940405b0b8 /Mailman/MailCommandHandler.py
parent97d0cd927eb108d6970fa7e973e8be89c439c2eb (diff)
downloadmailman-ce5fdfea2629c377c5295a0f963b6497205b21d4.tar.gz
mailman-ce5fdfea2629c377c5295a0f963b6497205b21d4.tar.zst
mailman-ce5fdfea2629c377c5295a0f963b6497205b21d4.zip
Some meager consistency in handling errors when trying to open the
mailing list. In all cases, catch the base exception class MMListError, and output a semi-standard error message which also contains the str() of the actual exception details (is this too much?). Also: config_list: slightly different usage() printing find_member.scanlists(): print a message if a MMListError occurs when opening the mailing list object remove_members: Wrap actual DeleteMember() calls in a try/finally to be sure the list is saved and unlocked should an exception occur. Hmm, should it be all or nothing?
Diffstat (limited to 'Mailman/MailCommandHandler.py')
0 files changed, 0 insertions, 0 deletions