[PATCH v2 2/2] test: vboot: Using variable 'old_dtb' before assignment

Simon Glass sjg at chromium.org
Wed Dec 13 21:38:50 CET 2023


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 at canonical.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
v2:
	mention pylint in commit message
---
 test/py/tests/test_vboot.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list