[Python-checkins] CVS: python/dist/src/Lib netrc.py,1.5,1.6
Eric S. Raymond
python-dev@python.org
Thu, 13 Jul 2000 06:25:09 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Lib netrc.py,1.4,1.5
- Next message: [Python-checkins] CVS: python/dist/src/Tools/freeze checkextensions_win32.py,1.4,1.5 extensions_win32.ini,1.2,1.3 freeze.py,1.35,1.36 winmakemakefile.py,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv17023
Modified Files:
netrc.py
Log Message:
Apply Greg Kochanski's fix for open/265.
Index: netrc.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/netrc.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** netrc.py 2000/07/13 13:12:21 1.5
--- netrc.py 2000/07/13 13:25:07 1.6
***************
*** 9,16 ****
if not file:
file = os.path.join(os.environ['HOME'], ".netrc")
! try:
! fp = open(file)
! except:
! return None
self.hosts = {}
self.macros = {}
--- 9,13 ----
if not file:
file = os.path.join(os.environ['HOME'], ".netrc")
! fp = open(file)
self.hosts = {}
self.macros = {}
- Previous message: [Python-checkins] CVS: python/dist/src/Lib netrc.py,1.4,1.5
- Next message: [Python-checkins] CVS: python/dist/src/Tools/freeze checkextensions_win32.py,1.4,1.5 extensions_win32.ini,1.2,1.3 freeze.py,1.35,1.36 winmakemakefile.py,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]