diff options
author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:11:21 (GMT) |
---|---|---|
committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:11:21 (GMT) |
commit | 94f25283c9b6cb43791e23618b9bec0cc961a7cb (patch) | |
tree | c32622183a1e7020de5afb458288be48449a60a6 /Lib/urllib | |
parent | a045f191b4670bbf201d6d56a50886694c26da3e (diff) | |
download | cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.zip cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.tar.gz cpython-94f25283c9b6cb43791e23618b9bec0cc961a7cb.tar.bz2 |
Remove traces of MacOS9 support.
Fix for issue #7908
Diffstat (limited to 'Lib/urllib')
-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): |