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)