[U-Boot] [PATCH] buildman: Clean up odd characters on the terminal

Simon Glass sjg at chromium.org
Tue Nov 15 23:32:59 CET 2016


At present buildman leaves behind a few characters during its progress
updates, which looks odd. Fix it.

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

 tools/buildman/builder.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py
index e27a285..bfd3f12 100644
--- a/tools/buildman/builder.py
+++ b/tools/buildman/builder.py
@@ -432,7 +432,7 @@ class Builder:
 
         name += target
         Print(line + name, newline=False)
-        length = 14 + len(name)
+        length = 16 + len(name)
         self.ClearLine(length)
 
     def _GetOutputDir(self, commit_upto):
-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list