[PATCH v2 12/30] patman: Tidy up the start-up code

Simon Glass sjg at chromium.org
Fri May 23 15:18:59 CEST 2025


Much of this was written before the other Python tools and they have
evolved. Make a few updates:

- Rather than calling sys.exit(), return the exit code from the control
  module and use it in __main__
- Set up tout as it is used in some places
- We now have quite a few tests, so update the comment about that

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

(no changes since v1)

 tools/patman/__main__.py |  8 ++++++--
 tools/patman/control.py  | 24 ++++++++++++------------
 2 files changed, 18 insertions(+), 14 deletions(-)

Applied to sjg/master, thanks!


More information about the U-Boot mailing list