Debugger/VariablesViewer.py

branch
Py2 comp.
changeset 2677
3d4277929fb3
parent 2525
8b507a9a2d40
parent 2617
5719edfddb4c
child 2717
34ef4eccdf6c
equal deleted inserted replaced
2670:e60ea6cb8e11 2677:3d4277929fb3
51 if len(lines) > 1: 51 if len(lines) > 1:
52 # only show the first non-empty line; 52 # only show the first non-empty line;
53 # indicate skipped lines by <...> at the 53 # indicate skipped lines by <...> at the
54 # beginning and/or end 54 # beginning and/or end
55 index = 0 55 index = 0
56 while index < len(lines) and lines[index] == "": 56 while index < len(lines) - 1 and lines[index] == "":
57 index += 1 57 index += 1
58 dvalue = "" 58 dvalue = ""
59 if index > 0: 59 if index > 0:
60 dvalue += "<...>" 60 dvalue += "<...>"
61 dvalue += lines[index] 61 dvalue += lines[index]

eric ide

mercurial