diff options
| author | cotton | 1998-11-19 13:15:09 +0000 |
|---|---|---|
| committer | cotton | 1998-11-19 13:15:09 +0000 |
| commit | f54c2fd02ba71dabf16739806fa8f7bb6a2e2d55 (patch) | |
| tree | 34f50499b9c48145fa17c70bfa474e4eede3ece2 /Mailman/Cgi/options.py | |
| parent | f5210e33e5929228a4f24e818e24f15c2dcde0a7 (diff) | |
| download | mailman-f54c2fd02ba71dabf16739806fa8f7bb6a2e2d55.tar.gz mailman-f54c2fd02ba71dabf16739806fa8f7bb6a2e2d55.tar.zst mailman-f54c2fd02ba71dabf16739806fa8f7bb6a2e2d55.zip | |
Diffstat (limited to 'Mailman/Cgi/options.py')
| -rw-r--r-- | Mailman/Cgi/options.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py index 97f2c1631..768678385 100644 --- a/Mailman/Cgi/options.py +++ b/Mailman/Cgi/options.py @@ -63,8 +63,9 @@ def main(): doc.AddItem(htmlformat.Bold("%s: No such list." % list_name )) print doc.Format() sys.exit(0) - - if Utils.LCDomain(user) not in list.members + list.digest_members: + user = Utils.LCDomain(user) + if not list.members.has_key(user) \ + and not list.digest_members.has_key(user): doc.AddItem(htmlformat.Header(2, "Error")) doc.AddItem(htmlformat.Bold("%s: No such member %s." % (list_name, `user`))) |
