From 016a5b7eef567fdae1b60e1f99ee30317ca109e2 Mon Sep 17 00:00:00 2001 From: Volodymyr Martysh Date: Mon, 8 Dec 2025 11:36:52 +0200 Subject: [PATCH] scripts: gen_config: Double-inclusion processing code could fail The add1b5884b393545805b340d1efbe92704e1aa11 commit introduced a mechanism to skip second inclusion of the manifests. This code contained a typo that lead to script crash when single profile actually included twice. Current commit fixes the typo. Fixes: PPW-1115 Signed-off-by: Volodymyr Martysh --- scripts/gen_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gen_config.py b/scripts/gen_config.py index e57c8ccf4f..33bfda47da 100755 --- a/scripts/gen_config.py +++ b/scripts/gen_config.py @@ -44,7 +44,7 @@ def usage(code: int = 0): def load_yaml(fname: str, profile: dict, seen: set[str]): if fname in seen: - return profile + return (profile, seen) # Allow profile overriding by searching in reverse order for folder in profile_folders.split(':')[::-1]: