From eea9e42e71a101f678abd2555c1ca4694f417f43 Mon Sep 17 00:00:00 2001 From: Konrad Weihmann <46938494+priv-kweihmann@users.noreply.github.com> Date: Sun, 13 Oct 2024 15:31:29 +0200 Subject: [PATCH] tweak: prepend constantmods and not append, as this would prevent the user from adding there own, when a release specific file was found --- oelint_adv/tweaks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oelint_adv/tweaks.py b/oelint_adv/tweaks.py index 3477b45..1d3bd48 100644 --- a/oelint_adv/tweaks.py +++ b/oelint_adv/tweaks.py @@ -99,7 +99,7 @@ def recursive_merge(obj_a: dict, obj_b: dict) -> dict: # release known var constantmod extramod = known_variable_mod(args.release) if extramod: - args.constantmods.append(extramod) + args.constantmods.insert(0, extramod) setattr(args, '_release_range', _release_range) # noqa: B010 args.state.additional_stash_args = getattr(args, '_stash_args', {})