summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
authorbwarsaw2001-06-01 07:14:03 +0000
committerbwarsaw2001-06-01 07:14:03 +0000
commitd29b5e0a07b8c8e01a287f5ade236a18426c90d4 (patch)
treecaaed1bb0393e186a615c192e363ceebba766a83 /Mailman/HTMLFormatter.py
parent4b5470eedfb4e6515b391cd961f38ddff2a7c015 (diff)
downloadmailman-d29b5e0a07b8c8e01a287f5ade236a18426c90d4.tar.gz
mailman-d29b5e0a07b8c8e01a287f5ade236a18426c90d4.tar.zst
mailman-d29b5e0a07b8c8e01a287f5ade236a18426c90d4.zip
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()