commit: e98dba630d78e2dbd97b1e05df7a37b5f320a78c
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 15:02:40 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 15:02:40 2018 +0000
URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=e98dba63
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: