From c680ae8002e955ef616741ae59338f0cde0f2ff8 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sat, 13 Oct 2001 18:37:07 +0000 Subject: [PATCH] Added missing parameter in call to http_error_default(); reported by Neal Norwitz. --- Lib/urllib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/urllib.py b/Lib/urllib.py index 8c1852ef17d..cdb2d0cd3df 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -584,7 +584,7 @@ class FancyURLopener(URLopener): 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, - errmsg, headers) + errcode, errmsg, headers) stuff = headers['www-authenticate'] import re match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)