summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorbwarsaw2001-12-31 21:38:45 +0000
committerbwarsaw2001-12-31 21:38:45 +0000
commit8727fca0d336b306ef6fac332b0a7fba07afb6e7 (patch)
treebfc07e168faa0e99d9b5664e1380ebbd148982cb /scripts
parente9c07d9d1cdcad0aa3644424526704e72be50df7 (diff)
downloadmailman-8727fca0d336b306ef6fac332b0a7fba07afb6e7.tar.gz
mailman-8727fca0d336b306ef6fac332b0a7fba07afb6e7.tar.zst
mailman-8727fca0d336b306ef6fac332b0a7fba07afb6e7.zip
run_main(): A simplification -- I want to try to not pre-load
Mailman/pythonlib/cgi.py because I'd like for Mailman to start using the default Python module now that we require at least Python 2.0 (or should that be Python 2.1?). I'm sure any disparity between the cgi.py modules will show up in beta testing. But if it looks okay, I'll remove our copy of cgi.py.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/driver10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/driver b/scripts/driver
index 3cc4580cb..7920778cc 100644
--- a/scripts/driver
+++ b/scripts/driver
@@ -70,16 +70,6 @@ def run_main():
manual_reprime=1,
nofail=0,
immediate=1)
- # Pre-load the `cgi' module. We do this because we're distributing a
- # slightly different version than the standard Python module. It's
- # essentially Python 1.5.2's module, with an experimental patch to
- # handle clients that give bogus or non-existant content-type headers.
- #
- # We assign sys.modules['cgi'] to this special cgi module because we
- # don't want to have to rewrite all the Mailman.Cgi modules to get the
- # special one.
- import Mailman.pythonlib.cgi
- sys.modules['cgi'] = Mailman.pythonlib.cgi
# The name of the module to run is passed in argv[1]. What we
# actually do is import the module named by argv[1] that lives in the
# Mailman.Cgi package. That module must have a main() function, which