[Python-checkins] CVS: python/dist/src/Lib urllib.py,1.126.2.1,1.126.2.2

Anthony Baxter anthonybaxter@users.sourceforge.net
Tue, 04 Dec 2001 22:37:54 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv3091

Modified Files:
      Tag: release21-maint
	urllib.py 
Log Message:
backport 1.134:
Added missing parameter in call to http_error_default();
reported by Neal Norwitz.


Index: urllib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urllib.py,v
retrieving revision 1.126.2.1
retrieving revision 1.126.2.2
diff -C2 -d -r1.126.2.1 -r1.126.2.2
*** urllib.py	2001/07/04 05:18:18	1.126.2.1
--- urllib.py	2001/12/05 06:37:51	1.126.2.2
***************
*** 573,577 ****
          if not headers.has_key('www-authenticate'):
              URLopener.http_error_default(self, url, fp,
!                                          errmsg, headers)
          stuff = headers['www-authenticate']
          import re
--- 573,577 ----
          if not headers.has_key('www-authenticate'):
              URLopener.http_error_default(self, url, fp,
!                                          errcode, errmsg, headers)
          stuff = headers['www-authenticate']
          import re