summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2002-03-07 05:58:11 +0000
committerbwarsaw2002-03-07 05:58:11 +0000
commitbb8c21f091b22d4d1f523dea3fcb07477cddf4d3 (patch)
treee9c9c97fb67fdd75695b612cb0e9cc263ffb6fd8
parentccee4565daf5537d19996ee11b45085c6ea3d024 (diff)
downloadmailman-bb8c21f091b22d4d1f523dea3fcb07477cddf4d3.tar.gz
mailman-bb8c21f091b22d4d1f523dea3fcb07477cddf4d3.tar.zst
mailman-bb8c21f091b22d4d1f523dea3fcb07477cddf4d3.zip
whymatches(): Add a comment which explains the intended semantics.
-rwxr-xr-xbin/list_members4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/list_members b/bin/list_members
index 00dc40009..e70f0294d 100755
--- a/bin/list_members
+++ b/bin/list_members
@@ -84,7 +84,9 @@ def usage(code, msg=''):
def whymatches(mlist, addr, why):
- # Filter out nomails
+ # Return true if the `why' matches the reason the address is enabled, or
+ # in the case of why is None, that they are disabled for any reason
+ # (i.e. not enabled).
status = mlist.getDeliveryStatus(addr)
if why is None:
return status <> MemberAdaptor.ENABLED