summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnirudh Dahiya2016-03-08 20:25:13 +0530
committerBarry Warsaw2016-03-22 20:36:46 -0400
commitf5948320648bd9c657dc41d4c6a9fd862d843714 (patch)
tree6fdd301206ae8d5852efc0a06b0e5957678dca81
parentca16e3a6ca16a52db0e8b245ccf9f858a190b4e9 (diff)
downloadmailman-f5948320648bd9c657dc41d4c6a9fd862d843714.tar.gz
mailman-f5948320648bd9c657dc41d4c6a9fd862d843714.tar.zst
mailman-f5948320648bd9c657dc41d4c6a9fd862d843714.zip
Add necessary comment explaining the modification
-rw-r--r--src/mailman/rest/members.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mailman/rest/members.py b/src/mailman/rest/members.py
index 1bfc5a9de..c65ee08f3 100644
--- a/src/mailman/rest/members.py
+++ b/src/mailman/rest/members.py
@@ -260,6 +260,7 @@ class AllMembers(_MemberBase):
pre_verified = arguments.pop('pre_verified', False)
pre_confirmed = arguments.pop('pre_confirmed', False)
pre_approved = arguments.pop('pre_approved', False)
+ # Check if the request for this email is already pending under moderation
pendings = getUtility(IPendings).find(mlist=mlist, pend_type='subscription')
for token,pendable in pendings:
if pendable['email']==subscriber.email and pendable['token_owner']=='moderator':