commit | 5fd10846572cc76c6e6d0f9839ed54ff10537691 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Thu Apr 20 20:03:43 2023 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed May 03 18:30:46 2023 -0400 |
tree | c393be2bdfe33f4609235b5d64e4f63f7fbe1a38 | |
parent | 2ac800a66f996da045d61ee5cff1f6694e893949 [diff] |
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>