moveconfig: Avoid showing progress at the end
When the process is finished, moveconfig leaves a line saying that all
boards were processed (for better or worse). Drop this, since it is
unncessary.
Future work will provide a summary at the end instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index 9d22872..0131034 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -282,7 +282,8 @@
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=' ')
sys.stdout.flush()