Ticket #1059: lineno_patch.txt

File lineno_patch.txt, 458 bytes (added by oggie rob, 18 years ago)

Increments line number output by one

Line 
1Index: views/debug.py
2===================================================================
3--- views/debug.py (revision 1556)
4+++ views/debug.py (working copy)
5@@ -88,7 +88,7 @@
6 'tb': tb,
7 'filename': filename,
8 'function': function,
9- 'lineno': lineno,
10+ 'lineno': lineno+1,
11 'vars': tb.tb_frame.f_locals.items(),
12 'id': id(tb),
13 'pre_context': pre_context,
Back to Top