------------------------------------------------------------
revno: 1547
fixes bug: https://launchpad.net/bugs/1426825
committer: Mark Sapiro <[email protected]>
branch nick: 2.1
timestamp: Sat 2015-02-28 23:05:56 -0800
message:
Fixed a bug in CommandRunner that threw an uncaught KeyError if
the input to the list-request address contained a command word
terminated by a period.
modified:
Mailman/Queue/CommandRunner.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/Queue/CommandRunner.py'
--- Mailman/Queue/CommandRunner.py 2014-12-08 04:51:42 +0000
+++ Mailman/Queue/CommandRunner.py 2015-03-01 07:05:56 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2014 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2015 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
@@ -12,7 +12,8 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+# USA.
"""-request robot command queue runner."""
@@ -132,7 +133,8 @@
__import__(modname)
handler = sys.modules[modname]
# ValueError can be raised if cmd has dots in it.
- except (ImportError, ValueError):
+ # and KeyError if cmd is otherwise good but ends with a dot.
+ except (ImportError, ValueError, KeyError):
# If we're on line zero, it was the Subject: header that didn't
# contain a command. It's possible there's a Re: prefix (or
# localized version thereof) on the Subject: line that's messing
=== modified file 'NEWS'
--- NEWS 2015-02-28 16:21:18 +0000
+++ NEWS 2015-03-01 07:05:56 +0000
@@ -5,6 +5,14 @@
Here is a history of user visible changes to Mailman.
+2.1.20 (xx-xxx-xxxx)
+
+ Bug fixes and other patches
+
+ - Fixed a bug in CommandRunner that threw an uncaught KeyError if
+ the input to the list-request address contained a command word
+ terminated by a period. (LP: #1426825)
+
2.2 Branch Backports (released in conjunction with 2.1.19)
The following New Features and Bug Fixes have been in an "unofficial,
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org