diff options
| author | bwarsaw | 2001-05-31 16:34:54 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-31 16:34:54 +0000 |
| commit | e4806f4eab928ec4e9c808a50f71e5f5b51d8bec (patch) | |
| tree | 623af3a22e9e762078278d09fcb45d5fe0d3dd0d /Mailman/Cgi/edithtml.py | |
| parent | 9c59b78d4ba9dfb2564c4ca5ff01dbcbd2ca7fa3 (diff) | |
| download | mailman-e4806f4eab928ec4e9c808a50f71e5f5b51d8bec.tar.gz mailman-e4806f4eab928ec4e9c808a50f71e5f5b51d8bec.tar.zst mailman-e4806f4eab928ec4e9c808a50f71e5f5b51d8bec.zip | |
Diffstat (limited to 'Mailman/Cgi/edithtml.py')
| -rw-r--r-- | Mailman/Cgi/edithtml.py | 10 |
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() |
