From 299826d0760bae8b72fbe92d1ac7137e34778264 Mon Sep 17 00:00:00 2001 From: Ben Corby Date: Mon, 16 Dec 2024 14:52:26 +1100 Subject: [PATCH] Enable the use of get_option() as a parameter for project() --- mesonbuild/interpreter/interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index d717485e8a1e..d8534d3f68dd 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -1194,7 +1194,7 @@ def func_project(self, node: mparser.FunctionNode, args: T.Tuple[str, T.List[str option_file = old_option_file if os.path.exists(option_file): with open(option_file, 'rb') as f: - # We want fast not cryptographically secure, this is just to + # We want fast not cryptographically secure, this is just to # see if the option file has changed self.coredata.options_files[self.subproject] = (option_file, hashlib.sha1(f.read()).hexdigest()) oi = optinterpreter.OptionInterpreter(self.environment.coredata.optstore, self.subproject)