From d11fa36196b6f037d95304772efd6e51b39b8379 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 7 May 2025 08:20:52 +0200 Subject: environment: move a comment around Make space for moving the larger comment about *_env_args, which will be before the for loop once *_env_args is removed. Signed-off-by: Paolo Bonzini --- mesonbuild/environment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 5a687b831..a3b8cd5f2 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -843,9 +843,9 @@ class Environment: key = key.evolve(f'{lang}_env_args') env_opts[key].extend(p_list) - # Only store options that are not already in self.options, - # otherwise we'd override the machine files for k, v in env_opts.items(): + # Only store options that are not already in self.options, + # otherwise we'd override the machine files if k not in self.options: self.options[k] = v -- cgit v1.2.3