Sporadic, untested Python 1.5.1 compatibility changes.

This commit is contained in:
Greg Ward 2000-04-22 15:17:14 +00:00
parent aa458bc465
commit 3af07e9a78
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ def copy_file (src, dst,
import macostools
try:
macostools.copy (src, dst, 0, preserve_times)
except OSError, exc:
except os.error, exc:
raise DistutilsFileError, \
"could not copy '%s' to '%s': %s" % (src, dst, exc[-1])