diff options
| author | Barry Warsaw | 2008-02-02 11:18:22 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2008-02-02 11:18:22 -0500 |
| commit | d865604398932718dab761f3fb4f56c3a18d25b8 (patch) | |
| tree | cf23973abf75c3cc799382dd6ad3b6d2a3702042 /Mailman/bin/inject.py | |
| parent | 497bb9b9186fb8e61a4d1893cc706dc297c94511 (diff) | |
| download | mailman-d865604398932718dab761f3fb4f56c3a18d25b8.tar.gz mailman-d865604398932718dab761f3fb4f56c3a18d25b8.tar.zst mailman-d865604398932718dab761f3fb4f56c3a18d25b8.zip | |
Convert IncomingRunner to use the new chains disposition architecture. move
the big explanatory text at the beginning of incoming.py to a doctest called
OVERVIEW.tt (which doesn't actually contain any tests yet -- it's
documentation though).
Added a doctest for the incoming runner, though this will be fleshed out in
more detail next.
Mailman.Post renamed to Mailman.inject, and simplified. We don't need its
command line script behavior because that is now handled by bin/inject.
Add a 'start_chain' attribute to mailing lists. This names the chain that
processing of messages for that list begins with.
We were inconsistent in the use of the 'no reply' address attribute. It's now
always 'no_reply_address'.
Update the smtplistener helper with lessons learned about how to suppress
bogus asyncore error messages. Also, switch to using a maildir mailbox
instead of an mbox mailbox.
Diffstat (limited to 'Mailman/bin/inject.py')
| -rw-r--r-- | Mailman/bin/inject.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/bin/inject.py b/Mailman/bin/inject.py index 60185289f..729038118 100644 --- a/Mailman/bin/inject.py +++ b/Mailman/bin/inject.py @@ -19,11 +19,11 @@ import os import sys import optparse -from Mailman import Post from Mailman import Utils from Mailman import Version from Mailman.configuration import config from Mailman.i18n import _ +from Mailman.inject import inject __i18n_templates__ = True @@ -88,7 +88,7 @@ def main(): else: msgtext = sys.stdin.read() - Post.inject(opts.listname, msgtext, qdir=qdir) + inject(opts.listname, msgtext, qdir=qdir) |
