[RFC 1/2] patman: introduce RunException

Simon Glass sjg at chromium.org
Fri Nov 5 03:02:45 CET 2021


On Thu, 4 Nov 2021 at 12:53, Heiko Thiery <heiko.thiery at gmail.com> wrote:
>
> The RunException will be throws when the a command's return_code is not
> equal zero. With this an external caller can catch that and has access
> to the command/args, the result code, the stdout and stderr output.
>
> Signed-off-by: Heiko Thiery <heiko.thiery at gmail.com>
> ---
>  tools/patman/tools.py | 16 +++++++++++++---
>  1 file changed, 13 insertions(+), 3 deletions(-)

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


More information about the U-Boot mailing list