]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: vboot: Using variable 'old_dtb' before assignment
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 11 Dec 2023 18:07:33 +0000 (19:07 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 23:39:06 +0000 (18:39 -0500)
commit229c4da6ca183b91f2ad928ecec47e073bce1b1a
tree504c8045e6505a08fa4a2ae6355a220d2d9dd98b
parent643f5c37fb6c7db7cd319115da3d176550094ac2
test: vboot: Using variable 'old_dtb' before assignment

old_dtb can only be assumed initialized in the finally block
if it is assigned a value before the try statement.

Avoid a pylint error reported by current pylint.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_vboot.py