summaryrefslogtreecommitdiff
path: root/Mailman/Commands/cmd_confirm.py
diff options
context:
space:
mode:
authormsapiro2005-12-03 01:08:58 +0000
committermsapiro2005-12-03 01:08:58 +0000
commit419cf66ac9783ab981e382274ab84de8d0984047 (patch)
tree7726ada64e67fd0fa474904e6598484c96a2ca70 /Mailman/Commands/cmd_confirm.py
parentcc30bd2bdf42c52d5c9509071541f1cad0b760fd (diff)
downloadmailman-419cf66ac9783ab981e382274ab84de8d0984047.tar.gz
mailman-419cf66ac9783ab981e382274ab84de8d0984047.tar.zst
mailman-419cf66ac9783ab981e382274ab84de8d0984047.zip
Diffstat (limited to 'Mailman/Commands/cmd_confirm.py')
-rw-r--r--Mailman/Commands/cmd_confirm.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Mailman/Commands/cmd_confirm.py b/Mailman/Commands/cmd_confirm.py
index 6574355d7..94075c30d 100644
--- a/Mailman/Commands/cmd_confirm.py
+++ b/Mailman/Commands/cmd_confirm.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 2002-2005 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -63,6 +63,12 @@ Your request has been forwarded to the list moderator for approval."""))
res.results.append(_("""\
You are not currently a member. Have you already unsubscribed or changed
your email address?"""))
+ except Errors.MembershipIsBanned:
+ owneraddr = mlist.GetOwnerEmail()
+ res.results.append(_("""\
+You are currently banned from subscribing to this list. If you think this
+restriction is erroneous, please contact the list owners at
+%(owneraddr)s."""))
except Errors.HostileSubscriptionError:
res.results.append(_("""\
You were not invited to this mailing list. The invitation has been discarded,