commit | 3af07e9a78b9b4b5a4776dd8db01928a39c08784 | [log] [tgz] |
---|---|---|
author | Greg Ward <gward@python.net> | Sat Apr 22 15:17:14 2000 +0000 |
committer | Greg Ward <gward@python.net> | Sat Apr 22 15:17:14 2000 +0000 |
tree | 989a974a7f06676152e3a356f19e3d7890e68641 | |
parent | aa458bc46500a2b135cad66a4fd66cac69b8be51 [diff] [blame] |
Sporadic, untested Python 1.5.1 compatibility changes.
diff --git a/Lib/distutils/file_util.py b/Lib/distutils/file_util.py index 91545ab..3224510 100644 --- a/Lib/distutils/file_util.py +++ b/Lib/distutils/file_util.py
@@ -141,7 +141,7 @@ 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])