Message ID | 20250122232411.133-5-egyszeregy@freemail.hu |
---|---|
State | New |
Headers | show |
Series | bitbake: knotty/progressbar: Optimize footer update and prints. | expand |
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index ad018a182..dfc76483c 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -243,9 +243,10 @@ class TerminalFilter(object): =20 def keepAlive(self, t): if not self.cuu: - print("Bitbake still alive (no events for %ds). Active tasks= :" % t) + msgbuf =3D ["Bitbake still alive (no events for %ds). Active= tasks:" % t] for t in self.helper.running_tasks: - print(t) + msgbuf.append(str(t)) + print("\n".join(msgbuf)) sys.stdout.flush()