From: Simon Glass Date: Sat, 23 Sep 2023 19:44:08 +0000 (-0600) Subject: moveconfig: Avoid showing progress at the end X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=95f0914ee807a090e6861a1abf96fb14b65af2f6;p=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 9d228720c7..0131034a37 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()