예제 #1
0
    def showsyntaxerror(self, filename=None):
        from pyramid_debugtoolbar.tbtools import get_current_traceback

        tb = get_current_traceback(skip=4)
        sys.stdout._write(tb.render_summary())
예제 #2
0
 def showsyntaxerror(self, filename=None):
     from pyramid_debugtoolbar.tbtools import get_current_traceback
     tb = get_current_traceback(skip=4)
     sys.stdout._write(tb.render_summary())
예제 #3
0
    def showtraceback(self):
        from pyramid_debugtoolbar.tbtools import get_current_traceback

        tb = get_current_traceback(skip=1)
        sys.stdout._write(tb.render_summary())
예제 #4
0
 def showtraceback(self):
     from pyramid_debugtoolbar.tbtools import get_current_traceback
     tb = get_current_traceback(skip=1)
     sys.stdout._write(tb.render_summary())