From 65fb99a84469f9019ef6dc94770e17cb5e1ed825 Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Tue, 30 Apr 2024 12:12:04 +0200 Subject: [PATCH] scripts: build: check_init_priorities.py: Add missing raise for error An error was not raised. Signed-off-by: Pieter De Gendt --- scripts/build/check_init_priorities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/check_init_priorities.py b/scripts/build/check_init_priorities.py index ba6f476fba..f126f2097c 100755 --- a/scripts/build/check_init_priorities.py +++ b/scripts/build/check_init_priorities.py @@ -172,7 +172,7 @@ class ZephyrInitLevels: elif elfclass == 64: ptrsize = 8 else: - ValueError(f"Unknown pointer size for ELF class f{elfclass}") + raise ValueError(f"Unknown pointer size for ELF class f{elfclass}") section = self._elf.get_section(shidx) start = section.header.sh_addr