diff options
| author | bwarsaw | 2001-05-25 19:02:09 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-25 19:02:09 +0000 |
| commit | 5b67caf005da9e7592a781feb494d37727febbf4 (patch) | |
| tree | 15f68ede11dc59a8f449b7d75609e545476785f0 /Mailman/HTMLFormatter.py | |
| parent | cb1bbf55a2f8cadf2d5ef9a0c5db706293cb86f6 (diff) | |
| download | mailman-5b67caf005da9e7592a781feb494d37727febbf4.tar.gz mailman-5b67caf005da9e7592a781feb494d37727febbf4.tar.zst mailman-5b67caf005da9e7592a781feb494d37727febbf4.zip | |
Diffstat (limited to 'Mailman/HTMLFormatter.py')
| -rw-r--r-- | Mailman/HTMLFormatter.py | 18 |
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: |
