diff --git a/mesonbuild/astinterpreter.py b/mesonbuild/astinterpreter.py index 3691d64ee..7a8373672 100644 --- a/mesonbuild/astinterpreter.py +++ b/mesonbuild/astinterpreter.py @@ -129,7 +129,7 @@ class AstInterpreter(interpreterbase.InterpreterBase): absname = os.path.join(self.source_root, buildfilename) if not os.path.isfile(absname): self.subdir = prev_subdir - raise InterpreterException('Nonexistant build def file %s.' % buildfilename) + raise InterpreterException('Nonexistent build def file %s.' % buildfilename) with open(absname, encoding='utf8') as f: code = f.read() assert(isinstance(code, str)) diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 5dc87ccda..c92adaf30 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -2023,7 +2023,7 @@ requirements use the version keyword argument instead.''') absname = os.path.join(self.environment.get_source_dir(), buildfilename) if not os.path.isfile(absname): self.subdir = prev_subdir - raise InterpreterException('Nonexistant build def file %s.' % buildfilename) + raise InterpreterException('Nonexistent build def file %s.' % buildfilename) with open(absname, encoding='utf8') as f: code = f.read() assert(isinstance(code, str))