diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2016-05-28 07:27:14 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2016-05-28 07:27:14 +0900 |
commit | b96ce36c207a14a3ec391252b443747a1dbec2b8 (patch) | |
tree | 24065df858481e296c3526099bd3f15aad67bfe2 /Mailman | |
parent | 1b97fc3479a482c0390ce65f1e649ed995325d1a (diff) | |
parent | 813a8b76a776969f2637f465d4c3c4ff1ec0749e (diff) | |
download | mailman2-b96ce36c207a14a3ec391252b443747a1dbec2b8.tar.gz mailman2-b96ce36c207a14a3ec391252b443747a1dbec2b8.tar.xz mailman2-b96ce36c207a14a3ec391252b443747a1dbec2b8.zip |
Merge lp:mailman/2.1 rev 1657
Diffstat (limited to '')
-rw-r--r-- | Mailman/Queue/ArchRunner.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/Queue/ArchRunner.py b/Mailman/Queue/ArchRunner.py index 62714537..17056e29 100644 --- a/Mailman/Queue/ArchRunner.py +++ b/Mailman/Queue/ArchRunner.py @@ -1,4 +1,4 @@ -# Copyright (C) 2000,2001,2002 by the Free Software Foundation, Inc. +# Copyright (C) 2000-2016 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 @@ -19,6 +19,7 @@ import time from email.Utils import parsedate_tz, mktime_tz, formatdate +from Mailman import i18n from Mailman import mm_cfg from Mailman import LockFile from Mailman.Queue.Runner import Runner @@ -70,6 +71,9 @@ class ArchRunner(Runner): # oh well, try again later return 1 try: + # Archiving should be done in the list's preferred language, not + # the sender's language. + i18n.set_language(mlist.preferred_language) mlist.ArchiveMail(msg) mlist.Save() finally: |