summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/util.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-06 21:41:49 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-06 21:41:49 (GMT)
commit5dfe0def6711d0e59cd1949e842c3d9dd32b4e4f (patch)
tree23114421ccbd102a434c1af4715741b7e654970f /Lib/distutils/util.py
parent50da60cc5bc82799b3636c18b18f24dd208823ec (diff)
downloadcpython-5dfe0def6711d0e59cd1949e842c3d9dd32b4e4f.zip
cpython-5dfe0def6711d0e59cd1949e842c3d9dd32b4e4f.tar.gz
cpython-5dfe0def6711d0e59cd1949e842c3d9dd32b4e4f.tar.bz2
Missed one because of indirection.
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r--Lib/distutils/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index e0ae2e5..917f1d0 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -269,7 +269,7 @@ def grok_environment_error (exc, prefix="error: "):
# include the filename in the exception object!
error = prefix + "%s" % exc.strerror
else:
- error = prefix + str(exc[-1])
+ error = prefix + str(exc.args[-1])
return error