]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added missing parameter in call to http_error_default();
authorFred Drake <fdrake@acm.org>
Sat, 13 Oct 2001 18:37:07 +0000 (18:37 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 13 Oct 2001 18:37:07 +0000 (18:37 +0000)
reported by Neal Norwitz.

Lib/urllib.py

index 8c1852ef17d36c8c528903d3d7019dcd1cd18d77..cdb2d0cd3dfb965876510a9bb57a6835726e90cc 100644 (file)
@@ -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)