pull/15/head
Jussi Pakkanen 12 years ago
parent 59c1dd44ed
commit 6b5c4b0a69
  1. 2
      interpreter.py

@ -1271,7 +1271,7 @@ class Interpreter():
if isinstance(v, nodes.BoolStatement):
v = v.get_value()
if not isinstance(v, bool):
raise InterpreterException('First argument to "or" is not a boolean.')
raise InterpreterException('Argument to "not" is not a boolean.')
return not v
def evaluate_arraystatement(self, cur):

Loading…
Cancel
Save