summaryrefslogtreecommitdiff
path: root/Mailman/SafeDict.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SafeDict.__getitem__(): Use isinstance() instead of a comparison tobwarsaw2001-10-091-3/+7
| | | | | | | | | | test for type isa StringType. MsgSafeDict.__getitem__(): Fix the handling of missing header in the `allmsg_' clause, so that it returns 'n/a' instead of trying to join a bogus value. MsgSafeDict.copy(): mimelib -> email.
* MsgSafeDict(): New class which is used in SMTPDirect and allows forbwarsaw2001-06-271-0/+27
| | | | | syslog format strings to include information from the message headers.
* We don't need to override the __init__() of the base class any morebwarsaw2001-02-151-7/+0
| | | | since we're requiring Python 2.0. Good catch Thomas!
* intermediatebwarsaw2001-02-151-0/+43