]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix another case where...
authorGuido van Rossum <guido@python.org>
Tue, 22 Oct 1996 13:28:37 +0000 (13:28 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 22 Oct 1996 13:28:37 +0000 (13:28 +0000)
Lib/urllib.py

index 418650253b816e35460b128347b81b32e3857d93..99bed8f1cd7793353a75122dafc86d2b9c18e789 100644 (file)
@@ -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]