remove php-formatting
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 4 Dec 2023 16:03:32 +0000 (16:03 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 4 Dec 2023 16:03:32 +0000 (16:03 +0000)
src/budget_sync/main.py

index e4a73593b48589176aae08ad1f9710a77dee034c..5d6aac191f90db708ac256cfe33e25430b9b359b 100644 (file)
@@ -172,12 +172,12 @@ def json_milestones(budget_graph: BudgetGraph, add_comments: bool,
             while i < total:
                 cur_need = need_list[i:i + step]
                 stop = i + len(cur_need)
-                print(f"loading comments {i}:{stop} of {total}",
+                print("loading comments %d:%d of %d" % (i, stop, total),
                       flush=True, file=term)
                 comments = bugzilla.get_comments(cur_need)['bugs']
                 if len(comments) < len(cur_need) and len(cur_need) > 1:
                     step = max(1, step // 2)
-                    print(f"failed, trying smaller step of {step}",
+                    print("failed, trying smaller step of %" % step,
                           flush=True, file=term)
                     continue
                 bug_comments_map.update(comments)