[PATCH 14/17] patman: Rename Color() method to build()

Simon Glass sjg at chromium.org
Tue Feb 8 21:39:39 CET 2022


This method has the same name as its class which is confusing. It is also
annoying when searching the code.

It builds a string with a colour, so rename it to build().

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

 tools/binman/bintool.py     |  8 ++++----
 tools/buildman/builder.py   | 24 ++++++++++++------------
 tools/buildman/control.py   | 28 ++++++++++++++--------------
 tools/buildman/test.py      | 20 ++++++++++----------
 tools/buildman/toolchain.py | 10 +++++-----
 tools/patman/checkpatch.py  | 10 +++++-----
 tools/patman/control.py     |  6 +++---
 tools/patman/gitutil.py     |  6 +++---
 tools/patman/series.py      | 12 ++++++------
 tools/patman/terminal.py    | 14 +++++++-------
 tools/patman/tout.py        |  4 ++--
 11 files changed, 71 insertions(+), 71 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list