------------------------------------------------------------
revno: 1689
fixes bug: https://launchpad.net/bugs/1661810
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Fri 2017-02-03 22:20:11 -0800
message:
  Fixed a TypeError thrown in the roster CGI when called with a listname
  containing a % character.
modified:
  Mailman/Cgi/roster.py
  NEWS


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Cgi/roster.py'
--- Mailman/Cgi/roster.py	2016-07-14 21:27:49 +0000
+++ Mailman/Cgi/roster.py	2017-02-04 06:20:11 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2016 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2017 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
@@ -141,8 +141,8 @@
     print doc.Format()
 
 
-def error_page_doc(doc, errmsg, *args):
+def error_page_doc(doc, errmsg):
     # Produce a simple error-message page on stdout and exit.
     doc.SetTitle(_("Error"))
     doc.AddItem(Header(2, _("Error")))
-    doc.AddItem(Bold(errmsg % args))
+    doc.AddItem(Bold(errmsg))

=== modified file 'NEWS'
--- NEWS	2017-01-17 23:31:01 +0000
+++ NEWS	2017-02-04 06:20:11 +0000
@@ -26,6 +26,9 @@
 
   Bug fixes and other patches
 
+    - Fixed a TypeError thrown in the roster CGI when called with a listname
+      containing a % character.  (LP: #1661810)
+
     - Fixed a NameError issue in bin/add_members with
       DISABLE_COMMAND_LOCALE_CSET = yes.  (LP: #1647450)
 

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to