[Bug 1426825] [NEW] CommandRunner throws KeyError

Mark Sapiro mark at msapiro.net
Sun Mar 1 07:56:05 CET 2015

Public bug reported:

If a message to the list-request contains a line that would be a command
but has the command word terminated with a dot, e.g. a line like

Help. Please unsubscribe me

CommandRunner can throw KeyError. I.e., in this example, it sets modname
to 'Mailman.Commands.cmd_help.' and __import__(modname) succeeds, but
handler = sys.modules[modname] then throws KeyError because of the
trailing dot.

** Affects: mailman
     Importance: Low
     Assignee: Mark Sapiro (msapiro)
         Status: In Progress

You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

  CommandRunner throws KeyError

To manage notifications about this bug go to:

More information about the Mailman-coders mailing list