summaryrefslogtreecommitdiffstats
path: root/Lib/urllib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-22 13:28:37 (GMT)
committerGuido van Rossum <guido@python.org>1996-10-22 13:28:37 (GMT)
commit5b1b33c7f498651c66fd2c81c877db190a5add6d (patch)
treeec0622f975d9f79604093e67ba53ce839d114f59 /Lib/urllib.py
parent58055847f49db92c02ebb96ecfaef0bfcdbc81f9 (diff)
downloadcpython-5b1b33c7f498651c66fd2c81c877db190a5add6d.zip
cpython-5b1b33c7f498651c66fd2c81c877db190a5add6d.tar.gz
cpython-5b1b33c7f498651c66fd2c81c877db190a5add6d.tar.bz2
Fix another case where...
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r--Lib/urllib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py
index 4186502..99bed8f 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -144,6 +144,7 @@ class URLopener:
if self.tempcache and self.tempcache.has_key(url):
return self.tempcache[url]
url1 = unwrap(url)
+ self.openedurl = url1
if self.tempcache and self.tempcache.has_key(url1):
self.tempcache[url] = self.tempcache[url1]
return self.tempcache[url1]