@@ -561,17 +561,17 @@ def http_error_401(self, url, fp, errcode, errmsg, headers, data=None):
561561 See this URL for a description of the basic authentication scheme:
562562 http://www.ics.uci.edu/pub/ietf/http/draft-ietf-http-v10-spec-00.txt"""
563563 if not headers .has_key ('www-authenticate' ):
564- URLopener .http_error_default (self , url , fp ,
564+ URLopener .http_error_default (self , url , fp ,
565565 errmsg , headers )
566566 stuff = headers ['www-authenticate' ]
567567 import re
568568 match = re .match ('[ \t ]*([^ \t ]+)[ \t ]+realm="([^"]*)"' , stuff )
569569 if not match :
570- URLopener .http_error_default (self , url , fp ,
570+ URLopener .http_error_default (self , url , fp ,
571571 errcode , errmsg , headers )
572572 scheme , realm = match .groups ()
573573 if scheme .lower () != 'basic' :
574- URLopener .http_error_default (self , url , fp ,
574+ URLopener .http_error_default (self , url , fp ,
575575 errcode , errmsg , headers )
576576 name = 'retry_' + self .type + '_basic_auth'
577577 if data is None :
0 commit comments