diff options
| author | bwarsaw | 1998-05-26 16:21:16 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-05-26 16:21:16 +0000 |
| commit | ca3958aaabf993bc95779bfcfebed0491ce33122 (patch) | |
| tree | c1c03d9ebac59b00afe054713c4e9a22b63e1980 /bin | |
| parent | 2f99e1d47f18b16b7e913dc2604d92d6a6a7cff8 (diff) | |
| download | mailman-ca3958aaabf993bc95779bfcfebed0491ce33122.tar.gz mailman-ca3958aaabf993bc95779bfcfebed0491ce33122.tar.zst mailman-ca3958aaabf993bc95779bfcfebed0491ce33122.zip | |
Two typical modifications, you'll see in many upcoming checkins:
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).
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/convert_list | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/convert_list b/bin/convert_list index 648514068..07797a153 100755 --- a/bin/convert_list +++ b/bin/convert_list @@ -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 @@ -23,9 +24,7 @@ # like majordomo may throw in. For now, you just have to remove them manually. import sys, os, crypt, string - -sys.path.append('/home/mailman/mailman/modules') - +import paths # path hacking import maillist, mm_utils, mm_message, mm_cfg |
