summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/HTMLFormatter.py')
-rw-r--r--Mailman/HTMLFormatter.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py
index 5d47d475f..9c870d1dc 100644
--- a/Mailman/HTMLFormatter.py
+++ b/Mailman/HTMLFormatter.py
@@ -244,13 +244,14 @@ class HTMLFormatter:
def RestrictedListMessage(self, which, restriction):
if not restriction:
- return ""
+ return ''
elif restriction == 1:
return _(
- "<i>The %(which)s is only available to the list members.</i>)")
+ '''(<i>The %(which)s is only available to the list
+ members.</i>)''')
else:
- return _("<i>The %(which)s is only available to the list"
- " administrator.</i>")
+ return _('''(<i>The %(which)s is only available to the list
+ administrator.</i>)''')
def FormatRosterOptionForUser(self, lang):
return self.RosterOption(lang).Format()