[PATCH 1/1] tools: fix TestFdtUtil()
Simon Glass
sjg at chromium.org
Mon Apr 24 03:50:12 CEST 2023
On Fri, 21 Apr 2023 at 06:03, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Variable old_outdir cannot be used before assignment.
> The assignment must occur before the try block.
>
> tools/dtoc/test_fdt.py:796:26:
> E0601: Using variable 'old_outdir' before assignment
> (used-before-assignment)
>
> Add missing space in assignment.
>
> Fixes: a004f29464d1 ("binman: Tidy up _SetupDtb() to use its own temporary file")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> tools/dtoc/test_fdt.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list