mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
72824bab44
commit
9af22a037f
3 changed files with 158 additions and 1 deletions
|
@ -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 *
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue