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

2023-12-13 Thread Simon Glass
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 Reviewed-by: Simon Glass --- v2: mention pylint in commit message --- test/py/tests/test_

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

2023-12-11 Thread Heinrich Schuchardt
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 Reviewed-by: Simon Glass --- v2: mention pylint in commit message --- test/py/tests/test_