Commit 0727c90c authored by Tres Seaver's avatar Tres Seaver

Remove bogus doctest artifacts under Python 2.5.

parent 1faf2852
......@@ -28,7 +28,7 @@ class Tracer:
if exceptions:
exception = exceptions[0]
exceptions.remove(exception)
exceptionShortName = str(exception).split('.')[-1]
exceptionShortName = exception.__name__
self.append('raising %s from %s' % (exceptionShortName, context))
raise exception
......
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