summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/edithtml.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Cgi/edithtml.py')
-rw-r--r--Mailman/Cgi/edithtml.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mailman/Cgi/edithtml.py b/Mailman/Cgi/edithtml.py
index 6b1022b7e..1a4266b70 100644
--- a/Mailman/Cgi/edithtml.py
+++ b/Mailman/Cgi/edithtml.py
@@ -54,7 +54,7 @@ def main():
parts = Utils.GetPathPieces()
if not parts:
doc.AddItem(Header(2, _("List name is required.")))
- print doc.Format(bgcolor='#ffffff')
+ print doc.Format()
return
listname = parts[0].lower()
@@ -62,7 +62,7 @@ def main():
mlist = MailList.MailList(listname, lock=0)
except Errors.MMListError, e:
doc.AddItem(Header(2, _('No such list <em>%(listname)s</em>')))
- print doc.Format(bgcolor='#ffffff')
+ print doc.Format()
syslog('error', _('No such list "%(listname)s": %(e)s\n'))
return
@@ -91,7 +91,7 @@ def main():
doc.SetTitle(_('Edit HTML : Error'))
doc.AddItem(Header(2, _("%(template_name)s: Invalid template")))
doc.AddItem(mlist.GetMailmanFooter())
- print doc.Format(bgcolor='#ffffff')
+ print doc.Format()
return
else:
doc.SetTitle(_('%(realname)s -- HTML Page Editing'))
@@ -103,7 +103,7 @@ def main():
template_list.AddItem(l)
doc.AddItem(FontSize("+2", template_list))
doc.AddItem(mlist.GetMailmanFooter())
- print doc.Format(bgcolor='#ffffff')
+ print doc.Format()
return
try:
@@ -112,7 +112,7 @@ def main():
FormatHTML(mlist, doc, template_name, template_info)
finally:
doc.AddItem(mlist.GetMailmanFooter())
- print doc.Format(bgcolor='#ffffff')
+ print doc.Format()