Author: georg.brandl
Date: Sun Jan  6 22:41:49 2008
New Revision: 59795

Modified:
   python/branches/py3k/Lib/distutils/util.py
Log:
Missed one because of indirection.


Modified: python/branches/py3k/Lib/distutils/util.py
==============================================================================
--- python/branches/py3k/Lib/distutils/util.py  (original)
+++ python/branches/py3k/Lib/distutils/util.py  Sun Jan  6 22:41:49 2008
@@ -269,7 +269,7 @@
             # 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
 
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to