#602893: add indicator for current line in cgitb that doesnt rely on styling alone.
diff --git a/Lib/cgitb.py b/Lib/cgitb.py
index 831f792..35f4a50 100644
--- a/Lib/cgitb.py
+++ b/Lib/cgitb.py
@@ -141,10 +141,11 @@
             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>=&gt;%s%s</tt>' % (num, pydoc.html.preformat(line))
                     rows.append('<tr><td bgcolor="#ffccee">%s</td></tr>' % line)
                 else:
+                    line = '<tt>&nbsp;&nbsp;%s%s</tt>' % (num, pydoc.html.preformat(line))
                     rows.append('<tr><td>%s</td></tr>' % grey(line))
                 i += 1