From c6814b7cd54907128a4fb65159ed054b683157db Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 4 Aug 2025 19:26:42 +0200 Subject: options: replace get_value with get_value_for The two methods are identical. Signed-off-by: Paolo Bonzini --- mesonbuild/modules/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/modules/python.py') diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index a266f3a3b..6f5a63a0b 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -206,7 +206,7 @@ class PythonInstallation(_ExternalProgramHolder['PythonExternalProgram']): new_link_args = mesonlib.extract_as_list(kwargs, 'link_args') - is_debug = self.interpreter.environment.coredata.optstore.get_value('debug') + is_debug = self.interpreter.environment.coredata.optstore.get_value_for('debug') if is_debug: new_link_args.append(python_windows_debug_link_exception) else: -- cgit v1.2.3