From e8439277d594a9f1357f5e05edf4607e01b38f31 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Tue, 22 Feb 2022 02:35:34 -0800 Subject: Avoid 500 Internal Server Error for non-member with private roster. --- Mailman/Cgi/options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Mailman') 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 -- cgit v1.2.3