diff options
-rw-r--r-- | Lib/urllib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py index 1c31d48f9c..be77e1de64 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -95,6 +95,8 @@ def urlretrieve(url, filename=None, reporthook=None, data=None): def urlcleanup(): if _urlopener: _urlopener.cleanup() + _safemaps.clear() + ftpcache.clear() # check for SSL try: |