[PATCH 1/1] tools: fix TestFdtUtil()

Tom Rini trini at konsulko.com
Thu May 4 17:52:14 CEST 2023


On Thu, Apr 20, 2023 at 08:03:43PM +0200, Heinrich Schuchardt 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230504/1bcacd8e/attachment.sig>


More information about the U-Boot mailing list