summaryrefslogtreecommitdiff
path: root/Mailman/MailCommandHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/MailCommandHandler.py')
-rw-r--r--Mailman/MailCommandHandler.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py
index c7ec1db1c..ec8fa7b17 100644
--- a/Mailman/MailCommandHandler.py
+++ b/Mailman/MailCommandHandler.py
@@ -466,7 +466,6 @@ background and instructions for subscribing to and using it, visit:
"send your request\nto the '-request' address"
"for that list.")
return
-
if len(args) == 2:
addr = args[1]
else:
@@ -477,7 +476,7 @@ background and instructions for subscribing to and using it, visit:
self.AddToResponse("Succeeded.")
except Errors.MMListNotReady:
self.AddError("List is not functional.")
- except Errors.MMNoSuchUserError:
+ except (Errors.MMNoSuchUserError, Errors.MMNotAMemberError):
self.AddError("%s is not subscribed to this list."
% mail.GetSender())
except Errors.MMBadPasswordError: