environment/lib/python2.7/site-packages/IPython/core/crashhandler.py
def make_report(self,traceback):
        """Return a string containing a crash report."""

        sec_sep = self.section_sep

        report = ['*'*75+'\n\n'+'IPython post-mortem report\n\n']
        rpt_add = report.append
        rpt_add(sys_info())

        try:
            config = pformat(self.app.config)
            rpt_add(sec_sep)
            rpt_add('Application name: %s\n\n' % self.app_name)
            rpt_add('Current user configuration structure:\n\n')
            rpt_add(config)
        except:
            pass
        rpt_add(sec_sep+'Crash traceback:\n\n' + traceback)

        return ''.join(report)
def make_report(self,traceback):
        """Return a string containing a crash report."""

        sec_sep = self.section_sep

        report = ['*'*75+'\n\n'+'IPython post-mortem report\n\n']
        rpt_add = report.append
        rpt_add(sys_info())

        try:
            config = pformat(self.app.config)
            rpt_add(sec_sep)
            rpt_add('Application name: %s\n\n' % self.app_name)
            rpt_add('Current user configuration structure:\n\n')
            rpt_add(config)
        except:
            pass
        rpt_add(sec_sep+'Crash traceback:\n\n' + traceback)

        return ''.join(report)
def make_report ( self , traceback ) : sec_sep = self . section_sep report = [ '*' * 75 + '\n\n' + 'IPython post-mortem report\n\n' ] rpt_add = report . append rpt_add ( sys_info ( ) ) try : config = pformat ( self . app . config ) rpt_add ( sec_sep ) rpt_add ( 'Application name: %s\n\n' % self . app_name ) rpt_add ( 'Current user configuration structure:\n\n' ) rpt_add ( config ) except : pass rpt_add ( sec_sep + 'Crash traceback:\n\n' + traceback ) return '' . join ( report )
Return a string containing a crash report.
Return a string containing a crash report .