summaryrefslogtreecommitdiffstats
path: root/Lib/urllib2.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-06-07 13:34:41 (GMT)
committerGeorg Brandl <georg@python.org>2007-06-07 13:34:41 (GMT)
commitd2acc2e9c57e19824389c916114de3e698b08840 (patch)
treeb16f9182da933bbeb882dc396264202568160317 /Lib/urllib2.py
parent73c958aced6d94fb325e7521039c2f95d994f7fe (diff)
downloadcpython-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.py2
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?