diff --git a/Lib/cgitb.py b/Lib/cgitb.py index 831f792e1d0..35f4a50d5f5 100644 --- a/Lib/cgitb.py +++ b/Lib/cgitb.py @@ -141,10 +141,11 @@ function calls leading up to the error, in the order they occurred.
''' i = lnum - index for line in lines: num = small(' ' * (5-len(str(i))) + str(i)) + ' ' - line = '%s%s' % (num, pydoc.html.preformat(line)) if i in highlight: + line = '=>%s%s' % (num, pydoc.html.preformat(line)) rows.append('