Commit 60d10b83 authored by Georg Brandl's avatar Georg Brandl

Missed one because of indirection.

parent 8b891e18
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment