[Python-checkins] CVS: python/dist/src/Lib netrc.py,1.4,1.5
Eric S. Raymond
python-dev@python.org
Thu, 13 Jul 2000 06:12:24 -0700
- Previous message: [Python-checkins] CVS: python/nondist/peps pep-0000.txt,NONE,1.1 pep-0001.txt,NONE,1.1 pep-0200.txt,NONE,1.1 pep-0201.txt,NONE,1.1 pep-0202.txt,NONE,1.1 pep-0203.txt,NONE,1.1
- Next message: [Python-checkins] CVS: python/dist/src/Lib netrc.py,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv13078
Modified Files:
netrc.py
Log Message:
Fix bug open/243 reported by Dimitri Papadopoulos
Index: netrc.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/netrc.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** netrc.py 2000/02/04 15:10:33 1.4
--- netrc.py 2000/07/13 13:12:21 1.5
***************
*** 16,20 ****
self.macros = {}
lexer = shlex.shlex(fp)
! lexer.wordchars = lexer.wordchars + '.'
while 1:
# Look for a machine, default, or macdef top-level keyword
--- 16,21 ----
self.macros = {}
lexer = shlex.shlex(fp)
! # Allows @ in hostnames. Not a big deal...
! lexer.wordchars = lexer.wordchars + '.-@'
while 1:
# Look for a machine, default, or macdef top-level keyword
- Previous message: [Python-checkins] CVS: python/nondist/peps pep-0000.txt,NONE,1.1 pep-0001.txt,NONE,1.1 pep-0200.txt,NONE,1.1 pep-0201.txt,NONE,1.1 pep-0202.txt,NONE,1.1 pep-0203.txt,NONE,1.1
- Next message: [Python-checkins] CVS: python/dist/src/Lib netrc.py,1.5,1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]