]> git.baikalelectronics.ru Git - uboot.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)
commitb6a74e2065ddd38f352039d5f2702319355b294a
treec393be2bdfe33f4609235b5d64e4f63f7fbe1a38
parentba62776e12631cd995787176375c947a37b6c483
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: 027a417454b3 ("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