summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_lists.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-03-16 15:17:17 -0400
committerBarry Warsaw2011-03-16 15:17:17 -0400
commit4943fba2eb4d812c20dbae1a61ce5e3b56d9a4d7 (patch)
treeef32d56c3721081ea31090a3f249c9b4a01af6a0 /src/mailman/commands/cli_lists.py
parent2c562fd0191b0af04511dad2b0d0ae57b31198e7 (diff)
parent99c83c30436c5d6e4704374a37a4ad38e0a5a0aa (diff)
downloadmailman-4943fba2eb4d812c20dbae1a61ce5e3b56d9a4d7.tar.gz
mailman-4943fba2eb4d812c20dbae1a61ce5e3b56d9a4d7.tar.zst
mailman-4943fba2eb4d812c20dbae1a61ce5e3b56d9a4d7.zip
Diffstat (limited to 'src/mailman/commands/cli_lists.py')
-rw-r--r--src/mailman/commands/cli_lists.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/commands/cli_lists.py b/src/mailman/commands/cli_lists.py
index a127dd816..021ce5991 100644
--- a/src/mailman/commands/cli_lists.py
+++ b/src/mailman/commands/cli_lists.py
@@ -30,7 +30,6 @@ __all__ = [
from zope.component import getUtility
from zope.interface import implements
-from mailman.Utils import maketext
from mailman.app.lifecycle import create_list, remove_list
from mailman.config import config
from mailman.core.constants import system_preferences
@@ -42,6 +41,7 @@ from mailman.interfaces.domain import (
BadDomainSpecificationError, IDomainManager)
from mailman.interfaces.languages import ILanguageManager
from mailman.interfaces.listmanager import IListManager, ListAlreadyExistsError
+from mailman.utilities.i18n import make
@@ -213,7 +213,7 @@ class Create:
requestaddr = mlist.request_address,
siteowner = mlist.no_reply_address,
)
- text = maketext('newlist.txt', d, mlist=mlist)
+ text = make('newlist.txt', mailing_list=mlist, **d)
# Set the I18N language to the list's preferred language so the
# header will match the template language. Stashing and restoring
# the old translation context is just (healthy? :) paranoia.