Fix a buglet in the error reporting (SF bug report #1546372).

This should probably go into Python 2.5 or 2.5.1 as well.
1 file changed