environment/lib/python2.7/site-packages/IPython/parallel/error.py
def render_traceback(self, excid=None):
        """render one or all of my tracebacks to a list of lines"""
        lines = []
        if excid is None:
            for (en,ev,etb,ei) in self.elist:
                lines.append(self._get_engine_str(ei))
                lines.extend((etb or 'No traceback available').splitlines())
                lines.append('')
        else:
            try:
                en,ev,etb,ei = self.elist[excid]
            except:
                raise IndexError("an exception with index %i does not exist"%excid)
            else:
                lines.append(self._get_engine_str(ei))
                lines.extend((etb or 'No traceback available').splitlines())
        
        return lines
def render_traceback(self, excid=None):
        lines = []
        if excid is None:
            for (en,ev,etb,ei) in self.elist:
                lines.append(self._get_engine_str(ei))
                lines.extend((etb or 'No traceback available').splitlines())
                lines.append('')
        else:
            try:
                en,ev,etb,ei = self.elist[excid]
            except:
                raise IndexError("an exception with index %i does not exist"%excid)
            else:
                lines.append(self._get_engine_str(ei))
                lines.extend((etb or 'No traceback available').splitlines())
        
        return lines
def render_traceback ( self , excid = None ) : lines = [ ] if excid is None : for ( en , ev , etb , ei ) in self . elist : lines . append ( self . _get_engine_str ( ei ) ) lines . extend ( ( etb or 'No traceback available' ) . splitlines ( ) ) lines . append ( '' ) else : try : en , ev , etb , ei = self . elist [ excid ] except : raise IndexError ( "an exception with index %i does not exist" % excid ) else : lines . append ( self . _get_engine_str ( ei ) ) lines . extend ( ( etb or 'No traceback available' ) . splitlines ( ) ) return lines
render one or all of my tracebacks to a list of lines
render one or all of my tracebacks to a list of lines