diff options
author | Mark Sapiro <msapiro@value.net> | 2011-04-14 16:21:01 -0700 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2011-04-14 16:21:01 -0700 |
commit | 67975ee0f8fdda1554ac5af976b4cc76e57edeca (patch) | |
tree | e2f624009fdb7329dcb1e0480b3b51945417f0c3 /Mailman | |
parent | e9ec77e3daca1779de124346a239c0e0fcfd74d7 (diff) | |
download | mailman2-67975ee0f8fdda1554ac5af976b4cc76e57edeca.tar.gz mailman2-67975ee0f8fdda1554ac5af976b4cc76e57edeca.tar.xz mailman2-67975ee0f8fdda1554ac5af976b4cc76e57edeca.zip |
Added a report of the affected members to the warnings issued when
setting a list with digest members digestable=No and when setting a list
with non-digest members nondigestable=no. Bug #761232.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Cgi/admin.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index 5f01a319..7b1ac1dd 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2010 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2011 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -187,13 +187,15 @@ def main(): if not mlist.digestable and mlist.getDigestMemberKeys(): doc.addError( _('''You have digest members, but digests are turned - off. Those people will not receive mail.'''), + off. Those people will not receive mail. + Affected member(s) %r.''' % mlist.getDigestMemberKeys()), tag=_('Warning: ')) if not mlist.nondigestable and mlist.getRegularMemberKeys(): doc.addError( _('''You have regular list members but non-digestified mail is turned off. They will receive non-digestified mail until you - fix this problem.'''), tag=_('Warning: ')) + fix this problem. Affected member(s) %r.''' % + mlist.getRegularMemberKeys()), tag=_('Warning: ')) # Glom up the results page and print it out show_results(mlist, doc, category, subcat, cgidata) print doc.Format() |