summaryrefslogtreecommitdiff
path: root/distutils2/command
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-02-13 23:18:44 +0000
committerAlexis Metaireau <alexis@notmyidea.org>2011-02-13 23:18:44 +0000
commite8e24f0af1df9fe9e9f32704756dabcc185754eb (patch)
treea39e7545c770a643dab4026da37a7770cad32bcb /distutils2/command
parentd08c2859eb32dc4278306cb93a25af68467299fc (diff)
downloaddisutils2-e8e24f0af1df9fe9e9f32704756dabcc185754eb.tar.gz
EnvironmentError does not always have a message attribute (python 2.4)
Diffstat (limited to 'distutils2/command')
-rw-r--r--distutils2/command/install_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils2/command/install_data.py b/distutils2/command/install_data.py
index 1440753..3179ebb 100644
--- a/distutils2/command/install_data.py
+++ b/distutils2/command/install_data.py
@@ -51,7 +51,7 @@ class install_data(Command):
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)