diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-02-28 08:26:44 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-02-28 08:26:44 (GMT) |
commit | 85ba673b0a8fa8123bfe2d0434fe35d7f3cee68d (patch) | |
tree | 1480fb010d74d32a5e612b38de5bb4145a6d2f37 /Lib/urllib.py | |
parent | 8de0c1716b90a28973f9c4e1e8816eaadf3b10dd (diff) | |
download | cpython-85ba673b0a8fa8123bfe2d0434fe35d7f3cee68d.zip cpython-85ba673b0a8fa8123bfe2d0434fe35d7f3cee68d.tar.gz cpython-85ba673b0a8fa8123bfe2d0434fe35d7f3cee68d.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r-- | Lib/urllib.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py index 9a2c0ba..00129c9 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -561,17 +561,17 @@ class FancyURLopener(URLopener): See this URL for a description of the basic authentication scheme: http://www.ics.uci.edu/pub/ietf/http/draft-ietf-http-v10-spec-00.txt""" if not headers.has_key('www-authenticate'): - URLopener.http_error_default(self, url, fp, + URLopener.http_error_default(self, url, fp, errmsg, headers) stuff = headers['www-authenticate'] import re match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff) if not match: - URLopener.http_error_default(self, url, fp, + URLopener.http_error_default(self, url, fp, errcode, errmsg, headers) scheme, realm = match.groups() if scheme.lower() != 'basic': - URLopener.http_error_default(self, url, fp, + URLopener.http_error_default(self, url, fp, errcode, errmsg, headers) name = 'retry_' + self.type + '_basic_auth' if data is None: |