From: Simon Glass Date: Sat, 23 Sep 2023 19:44:08 +0000 (-0600) Subject: moveconfig: Avoid showing progress at the end X-Git-Tag: v2024.01-rc1~38^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95f0914ee807a090e6861a1abf96fb14b65af2f6;p=pandora-u-boot.git 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 --- 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()