From 94f25283c9b6cb43791e23618b9bec0cc961a7cb Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Wed, 5 May 2010 19:11:21 +0000 Subject: Remove traces of MacOS9 support. Fix for issue #7908 --- Lib/urllib/request.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Lib/urllib/request.py') 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): -- cgit v1.2.1