commit | 45b4832c81fb8b80b5a588f19e247f02524494c9 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Thu Apr 20 19:49:47 2023 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Fri Apr 21 08:50:35 2023 +0200 |
tree | 38bcaf1c01f697e5980f86974028939638ff35e7 | |
parent | 49382a30a51c567581d8cc575efb6a64a92923fb [diff] |
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>