aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-01-01 20:33:49 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2013-01-01 20:33:49 +0200
commitb1ccec0cefa3056c7c6f2786dfb807df41edca4e (patch)
tree8b7b8b73e83d7bd079ccea5142cd155e2958b271 /interpreter.py
parent347dda92af535587b6485c9655561f960e8d1194 (diff)
downloadmeson-b1ccec0cefa3056c7c6f2786dfb807df41edca4e.zip
meson-b1ccec0cefa3056c7c6f2786dfb807df41edca4e.tar.gz
meson-b1ccec0cefa3056c7c6f2786dfb807df41edca4e.tar.bz2
Add missing lineno call.
Diffstat (limited to 'interpreter.py')
-rwxr-xr-xinterpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter.py b/interpreter.py
index 60b8150..4488497 100755
--- a/interpreter.py
+++ b/interpreter.py
@@ -146,7 +146,7 @@ class Interpreter():
def func_executable(self, node, args):
for a in args:
if not isinstance(a, str):
- raise InvalidArguments('Line %d: Argument %s is not a string.' % str(a))
+ raise InvalidArguments('Line %d: Argument %s is not a string.' % (node.lineno(), str(a)))
name = args[0]
sources = args[1:]
if name in self.targets: