interpreter: Typo in error message

'Non-existent' is the grammatically correct version. Also call it
a 'build file' since that's what everyone calls it nowadays.
pull/1751/head
Nirbheek Chauhan 8 years ago
parent c7d71c7943
commit c650ba8928
  1. 2
      mesonbuild/interpreter.py

@ -2226,7 +2226,7 @@ class Interpreter(InterpreterBase):
absname = os.path.join(self.environment.get_source_dir(), buildfilename)
if not os.path.isfile(absname):
self.subdir = prev_subdir
raise InterpreterException('Nonexistent build def file %s.' % buildfilename)
raise InterpreterException('Non-existent build file {!r}'.format(buildfilename))
with open(absname, encoding='utf8') as f:
code = f.read()
assert(isinstance(code, str))

Loading…
Cancel
Save