summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-04-22 15:17:14 (GMT)
committerGreg Ward <gward@python.net>2000-04-22 15:17:14 (GMT)
commit3af07e9a78b9b4b5a4776dd8db01928a39c08784 (patch)
tree989a974a7f06676152e3a356f19e3d7890e68641
parentaa458bc46500a2b135cad66a4fd66cac69b8be51 (diff)
downloadcpython-3af07e9a78b9b4b5a4776dd8db01928a39c08784.zip
cpython-3af07e9a78b9b4b5a4776dd8db01928a39c08784.tar.gz
cpython-3af07e9a78b9b4b5a4776dd8db01928a39c08784.tar.bz2
Sporadic, untested Python 1.5.1 compatibility changes.
-rw-r--r--Lib/distutils/file_util.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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])