aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
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: