Heinrich Schuchardt 9031cb627c test: fix launch_efi()
We cannot use old_dtb in the finally block if it has not been assigned
before the try block.

test/py/tests/test_efi_fit.py:458:30:
E0601: Using variable 'old_dtb' before assignment (used-before-assignment)

Fixes: 8391f955494e ("test/py: Create a test for launching UEFI binaries from FIT images")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-04-21 08:50:35 +02:00
..
2023-03-08 11:40:49 -08:00
2023-04-03 06:53:53 +12:00
2023-03-16 12:16:14 -04:00
2023-04-21 08:50:35 +02:00
2022-08-10 13:38:30 -04:00
run
2023-04-03 06:53:53 +12:00