aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2022-02-22 02:35:34 -0800
committerMark Sapiro <mark@msapiro.net>2022-02-22 02:35:34 -0800
commite8439277d594a9f1357f5e05edf4607e01b38f31 (patch)
treed331f88d58d93e1a142eb18718186b84c40206ef /Mailman
parent16c8af52bb280ae959137eed11bf4385d4340f31 (diff)
downloadmailman2-e8439277d594a9f1357f5e05edf4607e01b38f31.tar.gz
mailman2-e8439277d594a9f1357f5e05edf4607e01b38f31.tar.xz
mailman2-e8439277d594a9f1357f5e05edf4607e01b38f31.zip
Avoid 500 Internal Server Error for non-member with private roster.
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Cgi/options.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py
index c5c6425a..cbdeb6e7 100644
--- a/Mailman/Cgi/options.py
+++ b/Mailman/Cgi/options.py
@@ -169,8 +169,8 @@ def main():
if not mlist.isMember(user):
if mlist.private_roster == 0:
doc.addError(_('No such member: %(safeuser)s.'))
- loginpage(mlist, doc, None, language)
- print doc.Format()
+ loginpage(mlist, doc, None, language)
+ print doc.Format()
return
# Avoid cross-site scripting attacks