]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: fix TestFdtUtil()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 20 Apr 2023 18:03:43 +0000 (20:03 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 3 May 2023 22:30:46 +0000 (18:30 -0400)
commit5fd10846572cc76c6e6d0f9839ed54ff10537691
treec393be2bdfe33f4609235b5d64e4f63f7fbe1a38
parent2ac800a66f996da045d61ee5cff1f6694e893949
tools: fix TestFdtUtil()

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@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/dtoc/test_fdt.py