summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormailman1998-04-10 00:32:52 +0000
committermailman1998-04-10 00:32:52 +0000
commit50f57f55896ea39b7fbf5af772ea90504c67a821 (patch)
tree996eeb4a4f636f5c9bb9220beeaa50f9cfc96e19
parent7d06ba79dfefaefac9be8ec8e4142975bcefd3e2 (diff)
downloadmailman-50f57f55896ea39b7fbf5af772ea90504c67a821.tar.gz
mailman-50f57f55896ea39b7fbf5af772ea90504c67a821.tar.zst
mailman-50f57f55896ea39b7fbf5af772ea90504c67a821.zip
Add a title for the error doc.
-rwxr-xr-xcgi/roster3
1 files changed, 2 insertions, 1 deletions
diff --git a/cgi/roster b/cgi/roster
index 237e77c0d..bdfdaeb23 100755
--- a/cgi/roster
+++ b/cgi/roster
@@ -4,7 +4,7 @@
Takes listname in PATH_INFO."""
-__version__ = "$Revision: 405 $"
+__version__ = "$Revision: 407 $"
# We don't need to lock in this script, because we're never going to change
# data.
@@ -99,6 +99,7 @@ def error_page_doc(errmsg, *args):
Optional arg justreturn means just return the doc, don't print it."""
doc = htmlformat.Document()
+ doc.SetTitle("Error")
doc.AddItem(htmlformat.Header(2, "Error"))
doc.AddItem(htmlformat.Bold(errmsg % args))
return doc