[PATCH 1/1] binman: used-before-assignment in ftest.py

Simon Glass sjg at chromium.org
Mon Jan 1 17:49:31 CET 2024


On Fri, 15 Dec 2023 at 16:26, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Pytest 7.4.3 complains if a variable is used in a finally clause without
> having been initialized before the try clause.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  tools/binman/ftest.py | 20 +++++++++++++++-----
>  1 file changed, 15 insertions(+), 5 deletions(-)
>

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

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list