diff options
| author | bwarsaw | 1998-05-26 17:59:50 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-05-26 17:59:50 +0000 |
| commit | 081a92c1b28f1ad2ff3a7894369a682da638ebda (patch) | |
| tree | 6a54507323ab097bffab2fb0573c992e1c732911 /cgi/admin | |
| parent | e4987db65d570a40f78bd33ee46840e29785b35c (diff) | |
| download | mailman-081a92c1b28f1ad2ff3a7894369a682da638ebda.tar.gz mailman-081a92c1b28f1ad2ff3a7894369a682da638ebda.tar.zst mailman-081a92c1b28f1ad2ff3a7894369a682da638ebda.zip | |
1. Use the standard Python invocation #! line to get the interpreter
from $PATH
2. Do no direct sys.path munging in this file. Import the `paths'
module, which is created during the configure process, and which
performs all necessary path munging (and exports some useful
variables too).
3. Remove RCS crud
Diffstat (limited to 'cgi/admin')
| -rwxr-xr-x | cgi/admin | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,4 +1,5 @@ -#!/usr/local/bin/python +#! /usr/bin/env python +# # Copyright (C) 1998 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or @@ -20,11 +21,11 @@ To run stand-alone for debugging, set env var PATH_INFO to name of list and, optionally, options category.""" -__version__ = "$Revision: 547 $" +__version__ = "$Revision: 564 $" import sys -sys.path.append('/home/mailman/mailman/modules') import os, cgi, string, crypt, types +import paths # path hacking import mm_utils, maillist, mm_cfg, mm_err from htmlformat import * |
