Add missing lineno call.

pull/15/head
Jussi Pakkanen 12 years ago
parent 347dda92af
commit b1ccec0cef
  1. 2
      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:

Loading…
Cancel
Save