Show More
@@ -190,12 +190,12 b' class RemoteError(KernelError):' | |||
|
190 | 190 | def __str__(self): |
|
191 | 191 | return "%s(%s)" % (self.ename, self.evalue) |
|
192 | 192 | |
|
193 |
def |
|
|
193 | def render_traceback(self): | |
|
194 | 194 | """render traceback to a list of lines""" |
|
195 | 195 | return (self.traceback or "No traceback available").splitlines() |
|
196 | 196 | |
|
197 | # Previous name retained for backwards compatibility. | |
|
198 | render_traceback = _render_traceback_ | |
|
197 | # Special method for custom tracebacks within IPython | |
|
198 | _render_traceback_ = render_traceback | |
|
199 | 199 | |
|
200 | 200 | def print_traceback(self, excid=None): |
|
201 | 201 | """print my traceback""" |
General Comments 0
You need to be logged in to leave comments.
Login now