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/distutils/file_util.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Lib/distutils/file_util.py') diff --git a/Lib/distutils/file_util.py b/Lib/distutils/file_util.py index 758bde38bf..3a71bfd1ac 100644 --- a/Lib/distutils/file_util.py +++ b/Lib/distutils/file_util.py @@ -132,15 +132,6 @@ def copy_file(src, dst, preserve_mode=1, preserve_times=1, update=0, if dry_run: return (dst, 1) - # On Mac OS, use the native file copy routine - if os.name == 'mac': - import macostools - try: - macostools.copy(src, dst, 0, preserve_times) - except os.error as exc: - raise DistutilsFileError( - "could not copy '%s' to '%s': %s" % (src, dst, exc.args[-1])) - # If linking (hard or symbolic), use the appropriate system call # (Unix only, of course, but that's the caller's responsibility) elif link == 'hard': -- cgit v1.2.1