summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
authorbwarsaw1999-11-24 21:15:21 +0000
committerbwarsaw1999-11-24 21:15:21 +0000
commit98a13dea932365c9678180ee6cd2c9893e2702c4 (patch)
treeb1dd705d5125f107de16f456a13ff76395729dd0 /Mailman/HTMLFormatter.py
parent0c68c0ae4ee4273c5a741b4569bb7f31a0ac4561 (diff)
downloadmailman-98a13dea932365c9678180ee6cd2c9893e2702c4.tar.gz
mailman-98a13dea932365c9678180ee6cd2c9893e2702c4.tar.zst
mailman-98a13dea932365c9678180ee6cd2c9893e2702c4.zip
Diffstat (limited to 'Mailman/HTMLFormatter.py')
-rw-r--r--Mailman/HTMLFormatter.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py
index 4cf695cb6..378cd0c4f 100644
--- a/Mailman/HTMLFormatter.py
+++ b/Mailman/HTMLFormatter.py
@@ -113,13 +113,13 @@ class HTMLFormatter:
checked = ' CHECKED'
else:
checked = ''
- name = { mm_cfg.DontReceiveOwnPosts : "dontreceive",
- mm_cfg.DisableDelivery : "disablemail",
- mm_cfg.DisableMime : "mime",
- mm_cfg.AcknowlegePosts : "ackposts",
- mm_cfg.Digests : "digest",
- mm_cfg.ConcealSubscription : "conceal"
- }[type]
+ 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"
+ }[type]
import sys
return ('<input type=radio name="%s" value="%d"%s>'
% (name, value, checked))