diff options
| author | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:11:21 +0000 |
|---|---|---|
| committer | Ronald Oussoren <ronaldoussoren@mac.com> | 2010-05-05 19:11:21 +0000 |
| commit | 94f25283c9b6cb43791e23618b9bec0cc961a7cb (patch) | |
| tree | c32622183a1e7020de5afb458288be48449a60a6 /Lib/urllib/request.py | |
| parent | a045f191b4670bbf201d6d56a50886694c26da3e (diff) | |
| download | cpython-git-94f25283c9b6cb43791e23618b9bec0cc961a7cb.tar.gz | |
Remove traces of MacOS9 support.
Fix for issue #7908
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 ff871f9d9a..3293966a19 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): |
