summaryrefslogtreecommitdiff
path: root/Mailman/Archiver/HyperArch.py
diff options
context:
space:
mode:
authorbwarsaw2002-10-09 04:16:14 +0000
committerbwarsaw2002-10-09 04:16:14 +0000
commit2af69b10b8968a6111ed35b9c7cead8c1aada70f (patch)
treee97d8c701745071921278311212fa797d3726904 /Mailman/Archiver/HyperArch.py
parent40a5285928a9825781833f35f6fd9e8c508a2321 (diff)
downloadmailman-2af69b10b8968a6111ed35b9c7cead8c1aada70f.tar.gz
mailman-2af69b10b8968a6111ed35b9c7cead8c1aada70f.tar.zst
mailman-2af69b10b8968a6111ed35b9c7cead8c1aada70f.zip
Diffstat (limited to 'Mailman/Archiver/HyperArch.py')
-rw-r--r--Mailman/Archiver/HyperArch.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py
index dfc025250..c01bdfa73 100644
--- a/Mailman/Archiver/HyperArch.py
+++ b/Mailman/Archiver/HyperArch.py
@@ -528,6 +528,11 @@ class HyperArchive(pipermail.T):
'day': '^' + yre + mre + dre + '$'
}
+ def _makeArticle(self, msg, sequence):
+ return Article(msg, sequence,
+ lang=self.maillist.preferred_language,
+ mlist=self.maillist)
+
def html_foot(self):
# avoid i18n side-effects
mlist = self.maillist
@@ -735,7 +740,7 @@ class HyperArchive(pipermail.T):
if self._unlocklist:
self.maillist.Unlock()
archfile = open(wname)
- self.processUnixMailbox(archfile, Article)
+ self.processUnixMailbox(archfile)
archfile.close()
os.unlink(wname)
self.DropArchLock()