diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-07 08:20:52 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-05-15 02:03:46 -0400 |
| commit | d11fa36196b6f037d95304772efd6e51b39b8379 (patch) | |
| tree | f55e98ecb0ce8702f1ab8d3ba94d2433ec6f509e | |
| parent | 938690eef76d036a1682150944e65d956ec9db8d (diff) | |
| download | meson-d11fa36196b6f037d95304772efd6e51b39b8379.tar.gz | |
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 <pbonzini@redhat.com>
| -rw-r--r-- | mesonbuild/environment.py | 4 |
1 files 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 |
