diff options
| author | Barry Warsaw | 2011-03-16 15:14:48 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2011-03-16 15:14:48 -0400 |
| commit | e2e7e4a3e43a1a7fcf9f909f0d0aaaeedf27f3fa (patch) | |
| tree | d1fc27c3f95826c88edad4ae18b482b5d13377d2 /src/mailman/Archiver/HyperArch.py | |
| parent | 8f51ea23f187707f92e4ed689ef5ccb0fe292427 (diff) | |
| download | mailman-e2e7e4a3e43a1a7fcf9f909f0d0aaaeedf27f3fa.tar.gz mailman-e2e7e4a3e43a1a7fcf9f909f0d0aaaeedf27f3fa.tar.zst mailman-e2e7e4a3e43a1a7fcf9f909f0d0aaaeedf27f3fa.zip | |
Diffstat (limited to 'src/mailman/Archiver/HyperArch.py')
| -rw-r--r-- | src/mailman/Archiver/HyperArch.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/Archiver/HyperArch.py b/src/mailman/Archiver/HyperArch.py index 218c46875..92b9de2f0 100644 --- a/src/mailman/Archiver/HyperArch.py +++ b/src/mailman/Archiver/HyperArch.py @@ -50,6 +50,7 @@ from mailman.Archiver import pipermail from mailman.config import config from mailman.core.i18n import _, ctime from mailman.interfaces.listmanager import IListManager +from mailman.utilities.i18n import find from mailman.utilities.string import uncanonstr, websafe @@ -183,8 +184,8 @@ def quick_maketext(templatefile, dict=None, lang=None, mlist=None): template = _templatecache.get(filepath) if filepath is None or template is None: # Use the basic maketext, with defaults to get the raw template - template, filepath = Utils.findtext(templatefile, lang=lang.code, - raw=True, mlist=mlist) + template, filepath = find(templatefile, mailing_list=mlist, + language=lang.code) _templatefilepathcache[cachekey] = filepath _templatecache[filepath] = template # Copied from Utils.maketext() |
