[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.
https://bugs.launchpad.net/bugs/1426825

Title:
  CommandRunner throws KeyError

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1426825/+subscriptions


More information about the Mailman-coders mailing list