aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Errors.py
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2020-01-09 17:00:40 -0800
committerMark Sapiro <mark@msapiro.net>2020-01-09 17:00:40 -0800
commit300671a6c0181f9792cb6bdc9d03f9016d3d1327 (patch)
treedf6af1a3727112ac3a1c37547df69c9120af8126 /Mailman/Errors.py
parentcf47ad68d9cdb269f3c1ea3d57f8b484141bfad5 (diff)
downloadmailman2-300671a6c0181f9792cb6bdc9d03f9016d3d1327.tar.gz
mailman2-300671a6c0181f9792cb6bdc9d03f9016d3d1327.tar.xz
mailman2-300671a6c0181f9792cb6bdc9d03f9016d3d1327.zip
Implement REFUSE_SECOND_PENDING setting to prevent multiple pending subscribes.
Diffstat (limited to '')
-rw-r--r--Mailman/Errors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mailman/Errors.py b/Mailman/Errors.py
index f4895248..b502ffbf 100644
--- a/Mailman/Errors.py
+++ b/Mailman/Errors.py
@@ -31,6 +31,7 @@ class BadListNameError(MMListError): pass
class MMMemberError(Exception): pass
class MMBadUserError(MMMemberError): pass
class MMAlreadyAMember(MMMemberError): pass
+class MMAlreadyPending(MMMemberError): pass
# "New" style membership exceptions (new w/ MM2.1)
class MemberError(Exception): pass