[PATCH 20/28] moveconfig: Avoid showing progress at the end

Simon Glass sjg at chromium.org
Thu Aug 10 18:31:52 CEST 2023

When the process is finished, moveconfig leaves a line saying that all
boards were processed (for better or worse). Drop this, since it is

Future work will provide a summary at the end instead.

Signed-off-by: Simon Glass <sjg at chromium.org>

 tools/moveconfig.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index b97f82cd689..f4fb3f46b81 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -282,7 +282,8 @@ class Progress:
     def show(self):
         """Display the progress."""
-        print(f' {self.current} defconfigs out of {self.total}\r', end=' ')
+        if self.current != self.total:
+            print(f' {self.current} defconfigs out of {self.total}\r', end=' ')

More information about the U-Boot mailing list