aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2012-03-01 20:49:58 +0100
committerAxel Beckert <abe@deuxchevaux.org>2012-03-01 20:49:58 +0100
commit4cc8bddc00dc5cb2e333f5eea41ba7916dfd52a1 (patch)
tree7f38862b143eb447f7d0e8fbb5fe84b56207eb40 /bin
parent3de50ee34a0ce58a0b9017b4d482c90ff6a97b00 (diff)
downloadmailman2-4cc8bddc00dc5cb2e333f5eea41ba7916dfd52a1.tar.gz
mailman2-4cc8bddc00dc5cb2e333f5eea41ba7916dfd52a1.tar.xz
mailman2-4cc8bddc00dc5cb2e333f5eea41ba7916dfd52a1.zip
Consistently use "non moderated" instead of "not moderated"
Diffstat (limited to 'bin')
-rwxr-xr-xbin/list_members10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/list_members b/bin/list_members
index 3d6c0e09..c50cc06c 100755
--- a/bin/list_members
+++ b/bin/list_members
@@ -32,7 +32,7 @@ Where:
--moderated / -m
Print just the moderated members.
- --not-moderated / -M
+ --non-moderated / -M
Print just the non-moderated members.
--digest[=kind] / -d [kind]
@@ -161,7 +161,7 @@ def main():
invalidonly = False
unicodeonly = False
moderatedonly = False
- notmoderatedonly = False
+ nonmoderatedonly = False
# Throw away the first (program) argument
args = sys.argv[1:]
@@ -184,7 +184,7 @@ def main():
elif opt in ('-m', '--moderated'):
moderatedonly = True
elif opt in ('-M', '--non-moderated'):
- notmoderatedonly = True
+ nonmoderatedonly = True
elif opt in ('-o', '--output'):
try:
outfile = args.pop(0)
@@ -253,7 +253,7 @@ def main():
rmembers = mlist.getMemberCPAddresses(rmembers)
dmembers = mlist.getMemberCPAddresses(dmembers)
- if invalidonly or unicodeonly or moderatedonly or notmoderatedonly:
+ if invalidonly or unicodeonly or moderatedonly or nonmoderatedonly:
all = rmembers + dmembers
all.sort()
for addr in all:
@@ -265,7 +265,7 @@ def main():
showit = True
if moderatedonly and mlist.getMemberOption(addr, mm_cfg.Moderate):
showit = True
- if notmoderatedonly and not mlist.getMemberOption(addr, mm_cfg.Moderate):
+ if nonmoderatedonly and not mlist.getMemberOption(addr, mm_cfg.Moderate):
showit = True
if showit:
print >> fp, formataddr((safe(name), addr))