Skip to content

Commit

Permalink
Enable the use of get_option() as a parameter for project()
Browse files Browse the repository at this point in the history
  • Loading branch information
bcorby committed Dec 16, 2024
1 parent 0b41b36 commit 299826d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/interpreter/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 299826d

Please sign in to comment.