summaryrefslogtreecommitdiff
path: root/cgi/options
diff options
context:
space:
mode:
authormailman1998-04-10 00:30:01 +0000
committermailman1998-04-10 00:30:01 +0000
commit163513f8e5d898901e77e21273b55224f9e827f5 (patch)
tree541782575d4ab8ab4910b4efa88550fe9a707a84 /cgi/options
parent9294453a9968f60b9cc1a81d35374d88b4f30288 (diff)
downloadmailman-163513f8e5d898901e77e21273b55224f9e827f5.tar.gz
mailman-163513f8e5d898901e77e21273b55224f9e827f5.tar.zst
mailman-163513f8e5d898901e77e21273b55224f9e827f5.zip
Use HeadlessDocument() instead of Document(), since the template has
the head.
Diffstat (limited to 'cgi/options')
-rwxr-xr-xcgi/options4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/options b/cgi/options
index 930153f7f..ecbcd497b 100755
--- a/cgi/options
+++ b/cgi/options
@@ -6,7 +6,7 @@ Takes listname/userid in PATH_INFO, expecting an "obscured" userid.
(Depending on the mm_utils.{O,Uno}bscureEmail utilities tolerance,
will work fine with an unobscured ids as well.)"""
-__version__ = "$Revision: 388 $"
+__version__ = "$Revision: 405 $"
# We don't need to lock in this script, because we're never going to change
# data.
@@ -23,7 +23,7 @@ try:
except IOError:
pass # Oh well - SOL on redirect, errors show thru.
-doc = htmlformat.Document()
+doc = htmlformat.HeadlessDocument()
path = os.environ['PATH_INFO']
list_info = mm_utils.GetPathPieces(path)