summaryrefslogtreecommitdiffstats
path: root/Lib/urllib2.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-06-07 13:34:10 (GMT)
committerGeorg Brandl <georg@python.org>2007-06-07 13:34:10 (GMT)
commitff8712263deb720496b174ab95fbe81b162b8b0a (patch)
treea38aaa0bdc7b3cf9e51ae6277df403d13f24eeee /Lib/urllib2.py
parent04233ee5e16478e5c092b2e275587605157607a6 (diff)
downloadcpython-ff8712263deb720496b174ab95fbe81b162b8b0a.zip
cpython-ff8712263deb720496b174ab95fbe81b162b8b0a.tar.gz
cpython-ff8712263deb720496b174ab95fbe81b162b8b0a.tar.bz2
Patch #1667860: Fix UnboundLocalError in urllib2.
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 a1badb7..415c991 100644
--- a/Lib/urllib2.py
+++ b/Lib/urllib2.py
@@ -949,7 +949,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?