From e98dba630d78e2dbd97b1e05df7a37b5f320a78c Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sun, 14 Jan 2018 10:02:40 -0500 Subject: grs/Interpret.py: fix bug in semantic interpreter --- grs/Interpret.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grs/Interpret.py b/grs/Interpret.py index 2f3d5a5..74d04e3 100644 --- a/grs/Interpret.py +++ b/grs/Interpret.py @@ -247,7 +247,7 @@ class Interpret(Daemon): elif verb == 'netbootit': # 'netbootit' can either be just a 'verb', 'verb obj' or 'verb obj obj' if len(objs) == 2: - semantic_action(_line, objs, 1, _nb.netbootit, objs[0], obj[1]) + semantic_action(_line, objs, 2, _nb.netbootit, objs[0], obj[1]) elif len(objs) == 1: semantic_action(_line, objs, 1, _nb.netbootit, objs[0]) else: -- cgit v1.2.3-65-gdbad