From f82988dcc0dc9d69f1bb31977a02b4eb36957f2c Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sun, 19 Oct 2025 10:30:47 +0000 Subject: [PATCH] projects.py: Fix exception in error message (missing -devel package) Missing -devel packages during build often lead to this: WARNING: No project directory for module "dw-pi-playlist: No project path found for module "dw-pi-playlist" but actually, the warning isn't correctly logged. Instead, an exception is thrown. Fix that. Signed-off-by: Jan Lindemann --- scripts/projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/projects.py b/scripts/projects.py index ecaaddbb..9a9fb881 100644 --- a/scripts/projects.py +++ b/scripts/projects.py @@ -858,7 +858,7 @@ class Projects(object): continue r.append(pd) except Exception as e: - self.warn(f'No project directory for module "{module}: {e}') + self.warn(f'No project directory for module "{m}: {e}') continue print(' '.join(r))