##// END OF EJS Templates
RemoteError._render_traceback_ calls self.render_traceback...
MinRK -
Show More
@@ -195,8 +195,9 b' class RemoteError(KernelError):'
195 return (self.traceback or "No traceback available").splitlines()
195 return (self.traceback or "No traceback available").splitlines()
196
196
197 # Special method for custom tracebacks within IPython
197 # Special method for custom tracebacks within IPython
198 _render_traceback_ = render_traceback
198 def _render_traceback_(self):
199
199 return self.render_traceback()
200
200 def print_traceback(self, excid=None):
201 def print_traceback(self, excid=None):
201 """print my traceback"""
202 """print my traceback"""
202 print('\n'.join(self.render_traceback()))
203 print('\n'.join(self.render_traceback()))
General Comments 0
You need to be logged in to leave comments. Login now