Fix the tsum count in printscreen
authorP. Christeas <p_christ@hol.gr>
Thu, 9 Oct 2008 10:22:12 +0000 (13:22 +0300)
committerP. Christeas <p_christ@hol.gr>
Thu, 9 Oct 2008 10:22:12 +0000 (13:22 +0300)
bzr revid: p_christ@hol.gr-20081009102212-58h0wfyevwghsxty

bin/report/printscreen/ps_list.py

index 0187b68..1c501d4 100644 (file)
@@ -179,7 +179,8 @@ class report_printscreen_list(report_int):
         node_line = new_doc.createElement("row")
         lines.appendChild(node_line)
         node_line = new_doc.createElement("row")
-        for f in range(0,count+1):
+       count = len(tsum)
+        for f in range(0,count):
             col = new_doc.createElement("col")
             col.setAttribute('para','yes')
             col.setAttribute('tree','no')