add different indent style to show parent-child better
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 5 Jul 2022 09:33:16 +0000 (10:33 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 5 Jul 2022 09:33:20 +0000 (10:33 +0100)
src/budget_sync/main.py

index 3024835939bb43d6a18620bceb606ad9a5f39e2d..c7abc430d13fda15472079342a203f7a29a3dfb8 100644 (file)
@@ -54,7 +54,7 @@ def print_budget_then_children(indent, nodes, bug_id):
 
     bug = nodes[bug_id]
     print("bug #%5d %s budget %6s excltasks %6s s %s p %s" %
-          (bug.bug.id, ' ' * (indent*4),
+          (bug.bug.id, ' |   ' * indent,
            str(bug.fixed_budget_including_subtasks),
            str(bug.fixed_budget_excluding_subtasks),
            str(bug.submitted_including_subtasks),