aboutsummaryrefslogtreecommitdiff
path: root/grs
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-01-14 10:02:40 -0500
committerAnthony G. Basile <blueness@gentoo.org>2018-01-14 10:02:40 -0500
commite98dba630d78e2dbd97b1e05df7a37b5f320a78c (patch)
tree202bb37280d4e8c91573cd9313d38f72620ba68e /grs
parentgrs/Netboot.py: correct unpacking of ISO tarball (diff)
downloadgrss-e98dba630d78e2dbd97b1e05df7a37b5f320a78c.tar.gz
grss-e98dba630d78e2dbd97b1e05df7a37b5f320a78c.tar.bz2
grss-e98dba630d78e2dbd97b1e05df7a37b5f320a78c.zip
grs/Interpret.py: fix bug in semantic interpreter
Diffstat (limited to 'grs')
-rw-r--r--grs/Interpret.py2
1 files changed, 1 insertions, 1 deletions
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: