diff options
Diffstat (limited to 'Lib/urllib/request.py')
-rw-r--r-- | Lib/urllib/request.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index ff871f9..3293966 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -1338,9 +1338,7 @@ class CacheFTPHandler(FTPHandler): MAXFTPCACHE = 10 # Trim the ftp cache beyond this size # Helper for non-unix systems -if os.name == 'mac': - from macurl2path import url2pathname, pathname2url -elif os.name == 'nt': +if os.name == 'nt': from nturl2path import url2pathname, pathname2url else: def url2pathname(pathname): |