From 3c9e386970c0de46a3e25b5a6fed216cc95635e3 2012-07-30 21:37:31 From: Thomas Kluyver Date: 2012-07-30 21:37:31 Subject: [PATCH] Switch round alias of render_traceback() method. --- diff --git a/IPython/parallel/error.py b/IPython/parallel/error.py index 6e2d078..c797f7c 100644 --- a/IPython/parallel/error.py +++ b/IPython/parallel/error.py @@ -190,12 +190,12 @@ class RemoteError(KernelError): def __str__(self): return "%s(%s)" % (self.ename, self.evalue) - def _render_traceback_(self): + def render_traceback(self): """render traceback to a list of lines""" return (self.traceback or "No traceback available").splitlines() - # Previous name retained for backwards compatibility. - render_traceback = _render_traceback_ + # Special method for custom tracebacks within IPython + _render_traceback_ = render_traceback def print_traceback(self, excid=None): """print my traceback"""