summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/i18n.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/utilities/i18n.py')
-rw-r--r--src/mailman/utilities/i18n.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mailman/utilities/i18n.py b/src/mailman/utilities/i18n.py
index 8e769329c..000e74ac6 100644
--- a/src/mailman/utilities/i18n.py
+++ b/src/mailman/utilities/i18n.py
@@ -174,9 +174,8 @@ def make(template_file, mailing_list=None, language=None, wrap=True, **kw):
:param wrap: When True, wrap the text.
:type wrap: bool
:param **kw: Keyword arguments for template interpolation.
- :return: A tuple of the file system path to the first matching template,
- and an open file object allowing reading of the file.
- :rtype: (string, file)
+ :return: The interpolated text.
+ :rtype: string
:raises TemplateNotFoundError: when the template could not be found.
"""
path, fp = find(template_file, mailing_list, language)