Mailing List Archive

python/dist/src/Lib httplib.py,1.53,1.54
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv6288

Modified Files:
httplib.py
Log Message:
Convert raise to call exception class. Add whitespace.


Index: httplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/httplib.py,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** httplib.py 28 Jun 2002 23:38:14 -0000 1.53
--- httplib.py 2 Jul 2002 20:19:08 -0000 1.54
***************
*** 369,373 ****
port = int(host[i+1:])
except ValueError:
! raise InvalidURL, "nonnumeric port: '%s'"%host[i+1:]
host = host[:i]
else:
--- 369,373 ----
port = int(host[i+1:])
except ValueError:
! raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
host = host[:i]
else: