Skip Montanaro added the comment:
I have no easy way to check if this change works. Can you apply it to
your Python installation and give it a whirl?
Thx,
Skip
----------
assignee: -> skip.montanaro
nosy: +skip.montanaro
____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue602893>
____________________________________
*** /tmp/skip/ediffTIE3ly Tue Aug 28 20:03:46 2007
--- /Users/skip/src/python/trunk/Lib/cgitb.py Tue Aug 28 20:02:27 2007
***************
*** 138,147 ****
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:
rows.append('<tr><td bgcolor="#ffccee">%s</td></tr>' % line)
else:
rows.append('<tr><td>%s</td></tr>' % grey(line))
i += 1
--- 138,148 ----
i = lnum - index
for line in lines:
num = small(' ' * (5-len(str(i))) + str(i)) + ' '
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
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com