summaryrefslogtreecommitdiffstats
path: root/Lib/cgi.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-12-27 19:12:58 (GMT)
committerGuido van Rossum <guido@python.org>2000-12-27 19:12:58 (GMT)
commit7dd06966cb657bb690924ae4aa946114b04db7c3 (patch)
treed93394eb2e96037a16943dd351584dfe105cf5ee /Lib/cgi.py
parente0c182fb5f0c54f89b2648de23daf5a2f98fa12b (diff)
downloadcpython-7dd06966cb657bb690924ae4aa946114b04db7c3.zip
cpython-7dd06966cb657bb690924ae4aa946114b04db7c3.tar.gz
cpython-7dd06966cb657bb690924ae4aa946114b04db7c3.tar.bz2
Make Traceback header conform to new traceback ("innermost last" ->
"most recent call last").
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-xLib/cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index d4c55b7..345c8a1 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 "<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>" % (