aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass2023-09-23 13:44:08 -0600
committerSimon Glass2023-10-04 09:25:21 -0600
commit95f0914ee807a090e6861a1abf96fb14b65af2f6 (patch)
tree582a6b27daa2e79d995240d34f7eaf59f5e6dfac /tools
parent9461bf0d65acb1b758c94dd722b10d471b2c8675 (diff)
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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/moveconfig.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index 9d228720c73..0131034a378 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=' ')
sys.stdout.flush()