aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Commands/cmd_subscribe.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Commands/cmd_subscribe.py')
-rw-r--r--Mailman/Commands/cmd_subscribe.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mailman/Commands/cmd_subscribe.py b/Mailman/Commands/cmd_subscribe.py
index abe8b762..098740c8 100644
--- a/Mailman/Commands/cmd_subscribe.py
+++ b/Mailman/Commands/cmd_subscribe.py
@@ -128,6 +128,10 @@ the email address you gave is insecure."""))
except Errors.MMAlreadyAMember:
res.results.append(_('You are already subscribed!'))
return STOP
+ except Errors.MMAlreadyPending:
+ res.results.append(
+ _('You already have a subscription pending confirmation'))
+ return STOP
except Errors.MMCantDigestError:
res.results.append(
_('No one can subscribe to the digest of this list!'))