[Python-checkins] distutils2: EnvironmentError does not always have a message attribute (python 2.4)
tarek.ziade
python-checkins at python.org
Wed Feb 16 22:23:59 CET 2011
tarek.ziade pushed 422fcb29d738 to distutils2:
http://hg.python.org/distutils2/rev/422fcb29d738
changeset: 1093:422fcb29d738
user: Alexis Metaireau <alexis at notmyidea.org>
date: Sun Feb 13 23:18:44 2011 +0000
summary:
EnvironmentError does not always have a message attribute (python 2.4)
files:
distutils2/command/install_data.py
diff --git a/distutils2/command/install_data.py b/distutils2/command/install_data.py
--- a/distutils2/command/install_data.py
+++ b/distutils2/command/install_data.py
@@ -51,7 +51,7 @@
try:
(out, _) = self.copy_file(file[0], dir_dest)
except Error, e:
- self.warn(e.message)
+ self.warn(e)
out = destination
self.outfiles.append(out)
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list