##// END OF EJS Templates
Handle line gaps for truncated pieces
Alex Hall -
Show More
@@ -154,6 +154,10 b' def _format_traceback_lines(lines, Colors, lvals, _line_format):'
154 154 res = []
155 155
156 156 for stack_line in lines:
157 if stack_line is stack_data.LINE_GAP:
158 res.append('%s (...)%s\n' % (Colors.linenoEm, Colors.Normal))
159 continue
160
157 161 line = stack_line.text.rstrip('\n') + '\n'
158 162
159 163 new_line, err = _line_format(line, 'str')
General Comments 0
You need to be logged in to leave comments. Login now