From: Luke Kenneth Casson Leighton Date: Mon, 4 Dec 2023 16:03:32 +0000 (+0000) Subject: remove php-formatting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e4a4694d2b07037dfcab8df0d3ea825e97e5ea6;p=utils.git remove php-formatting --- diff --git a/src/budget_sync/main.py b/src/budget_sync/main.py index e4a7359..5d6aac1 100644 --- a/src/budget_sync/main.py +++ b/src/budget_sync/main.py @@ -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)