summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/archives.py
diff options
context:
space:
mode:
authorbwarsaw1998-06-19 19:54:01 +0000
committerbwarsaw1998-06-19 19:54:01 +0000
commitc51c79b6f13275e788bb4e8989871ab08006db8d (patch)
treec565be13742bc737d3616c9fa8854aeab951f5f1 /Mailman/Cgi/archives.py
parent3669b0d6a1a8a59d98f6d625cd5fe9423a6cd325 (diff)
downloadmailman-c51c79b6f13275e788bb4e8989871ab08006db8d.tar.gz
mailman-c51c79b6f13275e788bb4e8989871ab08006db8d.tar.zst
mailman-c51c79b6f13275e788bb4e8989871ab08006db8d.zip
Convert all module names to their new names. Import all modules from
the Mailman package (using the semi-bogus, but quickly implemented from ... import style). NOTE: did *not* main()-ify, nor test since I don't have pipermail installed. These need to happen.
Diffstat (limited to 'Mailman/Cgi/archives.py')
-rw-r--r--Mailman/Cgi/archives.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Cgi/archives.py b/Mailman/Cgi/archives.py
index 2b0ed0fa9..0190ab2e9 100644
--- a/Mailman/Cgi/archives.py
+++ b/Mailman/Cgi/archives.py
@@ -23,13 +23,13 @@
import sys
import os, types, posix, string
-import mm_utils, maillist, htmlformat
+from Mailman import Utils, MailList, htmlformat
print "Content-type: text/html"
print
path = os.environ['PATH_INFO']
-list_info = mm_utils.GetPathPieces(path)
+list_info = Utils.GetPathPieces(path)
if len(list_info) < 1:
print "<h2>Invalid options to CGI script.</h2>"
@@ -38,7 +38,7 @@ if len(list_info) < 1:
list_name = string.lower(list_info[0])
try:
- list = maillist.MailList(list_name)
+ list = MailList.MailList(list_name)
except:
print "<h2>%s: No such list.</h2>" % list_name
sys.exit(0)