Kaydet (Commit) 3af07e9a authored tarafından Greg Ward's avatar Greg Ward

Sporadic, untested Python 1.5.1 compatibility changes.

üst aa458bc4
......@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment