diff options
author | Georg Brandl <georg@python.org> | 2007-06-07 13:34:41 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-06-07 13:34:41 (GMT) |
commit | d2acc2e9c57e19824389c916114de3e698b08840 (patch) | |
tree | b16f9182da933bbeb882dc396264202568160317 /Lib/urllib2.py | |
parent | 73c958aced6d94fb325e7521039c2f95d994f7fe (diff) | |
download | cpython-d2acc2e9c57e19824389c916114de3e698b08840.zip cpython-d2acc2e9c57e19824389c916114de3e698b08840.tar.gz cpython-d2acc2e9c57e19824389c916114de3e698b08840.tar.bz2 |
Patch #1667860: Fix UnboundLocalError in urllib2.
(backport from rev. 55805)
Diffstat (limited to 'Lib/urllib2.py')
-rw-r--r-- | Lib/urllib2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib2.py b/Lib/urllib2.py index 007e905..09d7f9c 100644 --- a/Lib/urllib2.py +++ b/Lib/urllib2.py @@ -948,7 +948,7 @@ class AbstractDigestAuthHandler: respdig = KD(H(A1), "%s:%s" % (nonce, H(A2))) else: # XXX handle auth-int. - pass + raise URLError("qop '%s' is not supported." % qop) # XXX should the partial digests be encoded too? |