On Fri, 21 Apr 2023 at 06:03, Heinrich Schuchardt
<heinrich.schucha...@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.schucha...@canonical.com>
> ---
>  tools/dtoc/test_fdt.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to