From ca3958aaabf993bc95779bfcfebed0491ce33122 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Tue, 26 May 1998 16:21:16 +0000 Subject: 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). --- bin/convert_list | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bin') 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 -- cgit v1.3.1