diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-06-09 01:03:49 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-06-14 17:19:53 +0300 |
| commit | 9a6fcd4d9a0c7bb248c5d0587632b741a3301e03 (patch) | |
| tree | f066ab0ee942d2f12579bb075cb3afbdf3386f0b /mesonbuild/dependencies/python.py | |
| parent | c0d86024f5e647858f88bc400b45b3ad88a25c97 (diff) | |
| download | meson-9a6fcd4d9a0c7bb248c5d0587632b741a3301e03.tar.gz | |
Replace direct indexing with named methods.
Diffstat (limited to 'mesonbuild/dependencies/python.py')
| -rw-r--r-- | mesonbuild/dependencies/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/python.py b/mesonbuild/dependencies/python.py index 2ec7b9d92..27340ebaa 100644 --- a/mesonbuild/dependencies/python.py +++ b/mesonbuild/dependencies/python.py @@ -297,7 +297,7 @@ class PythonSystemDependency(SystemDependency, _PythonDependencyBase): is_debug_build = debug or buildtype == 'debug' vscrt_debug = False if mesonlib.OptionKey('b_vscrt') in self.env.coredata.optstore: - vscrt = self.env.coredata.optstore[mesonlib.OptionKey('b_vscrt')].value + vscrt = self.env.coredata.optstore.get_value('b_vscrt') if vscrt in {'mdd', 'mtd', 'from_buildtype', 'static_from_buildtype'}: vscrt_debug = True if is_debug_build and vscrt_debug and not self.variables.get('Py_DEBUG'): |
