summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-05-31 16:34:54 +0000
committerbwarsaw2001-05-31 16:34:54 +0000
commite4806f4eab928ec4e9c808a50f71e5f5b51d8bec (patch)
tree623af3a22e9e762078278d09fcb45d5fe0d3dd0d
parent9c59b78d4ba9dfb2564c4ca5ff01dbcbd2ca7fa3 (diff)
downloadmailman-e4806f4eab928ec4e9c808a50f71e5f5b51d8bec.tar.gz
mailman-e4806f4eab928ec4e9c808a50f71e5f5b51d8bec.tar.zst
mailman-e4806f4eab928ec4e9c808a50f71e5f5b51d8bec.zip
-rw-r--r--Mailman/Cgi/edithtml.py10
-rw-r--r--Mailman/Cgi/private.py4
2 files changed, 7 insertions, 7 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()
diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py
index 6311133fa..8d921c56d 100644
--- a/Mailman/Cgi/private.py
+++ b/Mailman/Cgi/private.py
@@ -57,7 +57,7 @@ def main():
if not parts:
doc.SetTitle(_("Private Archive Error"))
doc.AddItem(Header(3, _("You must specify a list.")))
- print doc.Format(bgcolor="#FFFFFF")
+ print doc.Format()
sys.exit(0)
path = os.environ.get('PATH_INFO')
@@ -94,7 +94,7 @@ def main():
msg = _('No such list <em>%(listname)s</em>')
doc.SetTitle(_("Private Archive Error - %(msg)s"))
doc.AddItem(Header(2, msg))
- print doc.Format(bgcolor="#FFFFFF")
+ print doc.Format()
syslog('error', 'No such list "%s": %s\n' % (listname, e))
sys.exit(0)