Fix another case where...

This commit is contained in:
Guido van Rossum 1996-10-22 13:28:37 +00:00
parent 58055847f4
commit 5b1b33c7f4
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ class URLopener:
if self.tempcache and self.tempcache.has_key(url): if self.tempcache and self.tempcache.has_key(url):
return self.tempcache[url] return self.tempcache[url]
url1 = unwrap(url) url1 = unwrap(url)
self.openedurl = url1
if self.tempcache and self.tempcache.has_key(url1): if self.tempcache and self.tempcache.has_key(url1):
self.tempcache[url] = self.tempcache[url1] self.tempcache[url] = self.tempcache[url1]
return self.tempcache[url1] return self.tempcache[url1]