Mercurial > cpython-lru_cache-weakref
diff Lib/cgi.py @ 15669:5c65e676f299 legacy-trunk
Make Traceback header conform to new traceback ("innermost last" ->
"most recent call last").
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 27 Dec 2000 19:12:58 +0000 |
| parents | c104f00c9909 |
| children | f5a3d98a35bc |
line wrap: on
line diff
--- a/Lib/cgi.py Wed Dec 27 17:41:47 2000 +0000 +++ b/Lib/cgi.py Wed Dec 27 19:12:58 2000 +0000 @@ -864,7 +864,7 @@ type, value, tb = sys.exc_info() import traceback print - print "<H3>Traceback (innermost last):</H3>" + print "<H3>Traceback (most recent call last):</H3>" list = traceback.format_tb(tb, limit) + \ traceback.format_exception_only(type, value) print "<PRE>%s<B>%s</B></PRE>" % (
