[Python-checkins] CVS: python/dist/src/Lib httplib.py,1.30,1.31
Guido van Rossum
python-dev@python.org
Mon, 15 Jan 2001 06:34:22 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv907
Modified Files:
httplib.py
Log Message:
Revert a change I accidentally checked in together with Ping's
"smallest patch ever".
Index: httplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/httplib.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** httplib.py 2001/01/14 23:47:14 1.30
--- httplib.py 2001/01/15 14:34:20 1.31
***************
*** 333,340 ****
i = host.find(':')
if i >= 0:
! try:
! port = int(host[i+1:])
! except ValueError, msg:
! raise socket.error, str(msg)
host = host[:i]
else:
--- 333,337 ----
i = host.find(':')
if i >= 0:
! port = int(host[i+1:])
host = host[:i]
else: