From b1ccec0cefa3056c7c6f2786dfb807df41edca4e Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Tue, 1 Jan 2013 20:33:49 +0200 Subject: [PATCH] Add missing lineno call. --- interpreter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreter.py b/interpreter.py index 60b815012..448849710 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: