From f20768771d749836f1b5b285a22fdcb23b0c2054 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Tue, 26 May 1998 18:46:11 +0000 Subject: 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 --- scripts/request | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'scripts/request') diff --git a/scripts/request b/scripts/request index 4120fb9c7..fa94dfeb5 100755 --- a/scripts/request +++ b/scripts/request @@ -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 @@ -22,13 +23,9 @@ of the target mailing list. Errors are redirected to logs/errors.""" -__version__ = "$Revision: 547 $" - import sys - -sys.path.append('/home/mailman/mailman/modules') - +import paths import maillist, mm_utils try: -- cgit v1.3.1