aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter.py')
-rw-r--r--interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter.py b/interpreter.py
index 79510dd..49739e4 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -1577,7 +1577,7 @@ class Interpreter():
elif isinstance(s, str):
s = File.from_source_file(self.environment.source_dir, self.subdir, s)
else:
- raise RuntimeError("Unreachable code")
+ raise InterpreterException("Argument list is invalid.")
results.append(s)
return results