diff options
| author | bwarsaw | 1999-11-10 17:52:05 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-11-10 17:52:05 +0000 |
| commit | 4f53b8839234c367ccc7403e60b7bd710df1b4d2 (patch) | |
| tree | eff42beadd9fbd62adbcb682989aad507bea4b84 /Mailman/Handlers/ToArchive.py | |
| parent | 05f94f33eed91b2f0d3e4197c95a9748621cc748 (diff) | |
| download | mailman-4f53b8839234c367ccc7403e60b7bd710df1b4d2.tar.gz mailman-4f53b8839234c367ccc7403e60b7bd710df1b4d2.tar.zst mailman-4f53b8839234c367ccc7403e60b7bd710df1b4d2.zip | |
Diffstat (limited to 'Mailman/Handlers/ToArchive.py')
| -rw-r--r-- | Mailman/Handlers/ToArchive.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Mailman/Handlers/ToArchive.py b/Mailman/Handlers/ToArchive.py new file mode 100644 index 000000000..321258a1e --- /dev/null +++ b/Mailman/Handlers/ToArchive.py @@ -0,0 +1,28 @@ +# Copyright (C) 1998 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 +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +"""Add the message to the archives.""" + +from Mailman import mm_cfg + + + +def process(mlist, msg): + # short circuits + if getattr(msg, 'isdigest', 0): + return + # TBD: this needs to be converted to the new pipeline machinery + mlist.ArchiveMail(msg) |
