commit | d2acc2e9c57e19824389c916114de3e698b08840 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Jun 07 13:34:41 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Thu Jun 07 13:34:41 2007 +0000 |
tree | b16f9182da933bbeb882dc396264202568160317 | |
parent | 73c958aced6d94fb325e7521039c2f95d994f7fe [diff] [blame] |
Patch #1667860: Fix UnboundLocalError in urllib2. (backport from rev. 55805)
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 @@ 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?