newslist.py: Added search for .newslistrc.py;

pindent.py: use /usr/local/bin/python;
pathfix.py: new script to fix #! lines in a group of scripts.
This commit is contained in:
Guido van Rossum 1994-08-19 15:02:57 +00:00
parent 72824bab44
commit 9af22a037f
3 changed files with 158 additions and 1 deletions

View file

@ -95,6 +95,13 @@ sublistsize = 4
# That should be all. #
#######################################################################
for dir in os.curdir, os.environ['HOME']:
rcfile = os.path.join(dir, '.newslistrc.py')
if os.path.exists(rcfile):
print rcfile
execfile(rcfile)
break
from nntplib import NNTP
from stat import *