aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-05-07 03:53:00 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-05-09 14:23:15 +0530
commitc650ba8928c6ded4adc7faf1bca3f28df8f47163 (patch)
treeb06895f1111ce8920e83f392bf076565bea663f3 /mesonbuild/interpreter.py
parentc7d71c79434d98c280121ac1a20faca8fd512e40 (diff)
downloadmeson-c650ba8928c6ded4adc7faf1bca3f28df8f47163.zip
meson-c650ba8928c6ded4adc7faf1bca3f28df8f47163.tar.gz
meson-c650ba8928c6ded4adc7faf1bca3f28df8f47163.tar.bz2
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.
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 886f200..46ec3f3 100644
--- a/mesonbuild/interpreter.py
+++ b/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))