summaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-03-04 23:43:41 -0800
committerEli Schwartz <eschwartz93@gmail.com>2025-03-06 23:02:18 -0500
commit4227354100d54b45df8877e20f4e727183f7c867 (patch)
treee9506d716699b9ecf65e0c758b53f22f88861525 /mesonbuild/interpreter
parent3df6762f542a8bd6506a96bb2690a3d91d1a5ebc (diff)
downloadmeson-4227354100d54b45df8877e20f4e727183f7c867.tar.gz
interpreter: Remove debug code from option refactor
Diffstat (limited to 'mesonbuild/interpreter')
-rw-r--r--mesonbuild/interpreter/interpreter.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index 1ff6aa4b1..a118b3c59 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -1070,8 +1070,6 @@ class Interpreter(InterpreterBase, HoldableObject):
def func_get_option(self, nodes: mparser.BaseNode, args: T.Tuple[str],
kwargs: 'TYPE_kwargs') -> T.Union[options.UserOption, 'TYPE_var']:
optname = args[0]
- if optname == 'optimization' and self.subproject == 'sub2':
- pass
if ':' in optname:
raise InterpreterException('Having a colon in option name is forbidden, '
'projects are not allowed to directly access '