mirror of https://github.com/python/cpython
Sporadic, untested Python 1.5.1 compatibility changes.
This commit is contained in:
parent
aa458bc465
commit
3af07e9a78
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue