[Python-checkins] python/dist/src/Lib urllib2.py,1.37,1.38
akuchling@users.sourceforge.net
akuchling@users.sourceforge.net
Wed, 06 Nov 2002 07:40:08 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv23650
Modified Files:
urllib2.py
Log Message:
Fix NameError exception ('name' undefined)
Index: urllib2.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urllib2.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** urllib2.py 11 Oct 2002 17:27:55 -0000 1.37
--- urllib2.py 6 Nov 2002 15:40:05 -0000 1.38
***************
*** 772,775 ****
--- 772,776 ----
h.putheader('Host', sel_host or host)
for args in self.parent.addheaders:
+ name, value = args
if name not in req.headers:
h.putheader(*args)