summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/HTMLFormatter.py')
-rw-r--r--Mailman/HTMLFormatter.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py
index 10be7bf2c..ac463dca1 100644
--- a/Mailman/HTMLFormatter.py
+++ b/Mailman/HTMLFormatter.py
@@ -105,16 +105,16 @@ class HTMLFormatter:
checked = ' CHECKED'
else:
checked = ''
- name = {mm_cfg.DontReceiveOwnPosts : "dontreceive",
- mm_cfg.DisableDelivery : "disablemail",
- mm_cfg.DisableMime : "mime",
- mm_cfg.AcknowledgePosts : "ackposts",
- mm_cfg.Digests : "digest",
- mm_cfg.ConcealSubscription : "conceal"
+ name = {mm_cfg.DontReceiveOwnPosts : 'dontreceive',
+ mm_cfg.DisableDelivery : 'disablemail',
+ mm_cfg.DisableMime : 'mime',
+ mm_cfg.AcknowledgePosts : 'ackposts',
+ mm_cfg.Digests : 'digest',
+ mm_cfg.ConcealSubscription : 'conceal',
+ mm_cfg.SuppressPasswordReminder : 'passwdremind',
}[type]
- import sys
- return ('<input type=radio name="%s" value="%d"%s>'
- % (name, value, checked))
+ return '<input type=radio name="%s" value="%d"%s>' % (
+ name, value, checked)
def FormatDigestButton(self):
if self.digest_is_default: