This patch adds 'desc' argument into HostAPI's run method.
Signed-off-by: Jan Tluka jtluka@redhat.com --- lnst/Controller/Task.py | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/lnst/Controller/Task.py b/lnst/Controller/Task.py index 315b099..ad7fb68 100644 --- a/lnst/Controller/Task.py +++ b/lnst/Controller/Task.py @@ -165,6 +165,8 @@ class HostAPI(object): else: msg = "Argument 'tool' not valid when running modules." raise TaskError(msg) + elif arg == "desc": + cmd["desc"] = argval else: msg = "Argument '%s' not recognised by the run() method." % arg raise TaskError(msg)
lnst-developers@lists.fedorahosted.org