formatting (keep below 80 chars)
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 20 Jun 2022 08:59:21 +0000 (09:59 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 20 Jun 2022 08:59:21 +0000 (09:59 +0100)
src/budget_sync/main.py

index f34a22b6c3cd7db5fead530492e4ff1403eabd90..3024835939bb43d6a18620bceb606ad9a5f39e2d 100644 (file)
@@ -53,14 +53,14 @@ def print_budget_then_children(indent, nodes, bug_id):
     """
 
     bug = nodes[bug_id]
-    print("bug #%5d %sbudget %5s excltasks %5s sub_tot %s paid_tot %s" %
+    print("bug #%5d %s budget %6s excltasks %6s s %s p %s" %
           (bug.bug.id, ' ' * (indent*4),
            str(bug.fixed_budget_including_subtasks),
            str(bug.fixed_budget_excluding_subtasks),
            str(bug.submitted_including_subtasks),
            str(bug.paid_including_subtasks)))
-
     # print(repr(bug))
+
     for child in bug.immediate_children:
         if (str(child.budget_including_subtasks) == "0" and
                 str(child.budget_excluding_subtasks) == "0"):