diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-02-27 14:45:09 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-02-27 15:20:34 -0500 |
commit | 880d5000b218ace3bd8844050d183c78da1caf78 (patch) | |
tree | 93fffbf87f54200cf053fbcb8ee32b2a8c2c488e /mesonbuild/modules | |
parent | 008b1cef50f9fdc081a7e768a80736004da0b97c (diff) | |
download | meson-880d5000b218ace3bd8844050d183c78da1caf78.zip meson-880d5000b218ace3bd8844050d183c78da1caf78.tar.gz meson-880d5000b218ace3bd8844050d183c78da1caf78.tar.bz2 |
sourceset module: fix minor regression in making sourcesets immutable
In commit c0be7e05b070d85b38c79088df882970a5cd0279 the setting of merged
sourcesets as immutable in a loop accidentally got dedented, and only
applied to the last loop iteration.
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r-- | mesonbuild/modules/sourceset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/sourceset.py b/mesonbuild/modules/sourceset.py index dd78c45..78cf47c 100644 --- a/mesonbuild/modules/sourceset.py +++ b/mesonbuild/modules/sourceset.py @@ -186,7 +186,7 @@ class SourceSetImpl(SourceSet, MutableModuleObject): for s in if_true: if not isinstance(s, SourceSetImpl): raise InvalidCode('Arguments to \'add_all\' after the first must be source sets') - s.frozen = True + s.frozen = True self.rules.append(SourceSetRule(keys, [], [], if_true, dependencies)) def collect(self, enabled_fn: T.Callable[[str], bool], |