Missed one because of indirection.

This commit is contained in:
Georg Brandl 2008-01-06 21:41:49 +00:00
parent 50da60cc5b
commit 5dfe0def67

View File

@ -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