From 7dd06966cb657bb690924ae4aa946114b04db7c3 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 27 Dec 2000 19:12:58 +0000 Subject: Make Traceback header conform to new traceback ("innermost last" -> "most recent call last"). --- Lib/cgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/cgi.py') diff --git a/Lib/cgi.py b/Lib/cgi.py index d4c55b73e1..345c8a199e 100755 --- a/Lib/cgi.py +++ b/Lib/cgi.py @@ -864,7 +864,7 @@ def print_exception(type=None, value=None, tb=None, limit=None): type, value, tb = sys.exc_info() import traceback print - print "

Traceback (innermost last):

" + print "

Traceback (most recent call last):

" list = traceback.format_tb(tb, limit) + \ traceback.format_exception_only(type, value) print "
%s%s
" % ( -- cgit v1.2.1