diff options
-rw-r--r-- | Lib/cgitb.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/cgitb.py b/Lib/cgitb.py index 831f792e1d..35f4a50d5f 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.</p>''' i = lnum - index for line in lines: num = small(' ' * (5-len(str(i))) + str(i)) + ' ' - line = '<tt>%s%s</tt>' % (num, pydoc.html.preformat(line)) if i in highlight: + line = '<tt>=>%s%s</tt>' % (num, pydoc.html.preformat(line)) rows.append('<tr><td bgcolor="#ffccee">%s</td></tr>' % line) else: + line = '<tt> %s%s</tt>' % (num, pydoc.html.preformat(line)) rows.append('<tr><td>%s</td></tr>' % grey(line)) i += 1 |