This is a simple fix if user specified non existing python task in xml.
Signed-off-by: Jan Tluka jtluka@redhat.com --- lnst/Controller/NetTestController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py index fd029cb..0051c4d 100644 --- a/lnst/Controller/NetTestController.py +++ b/lnst/Controller/NetTestController.py @@ -374,7 +374,7 @@ class NetTestController:
task["python"] = path if not path.exists(): - msg = "Task file '%s' not found." % path + msg = "Task file '%s' not found." % path.to_str() raise RecipeError(msg, task_data)
self._tasks.append(task)
On Thu, Dec 17, 2015 at 03:06:41PM +0100, Jan Tluka wrote:
This is a simple fix if user specified non existing python task in xml.
Signed-off-by: Jan Tluka jtluka@redhat.com
Acked-by: Ondrej Lichtner olichtne@redhat.com
lnst-developers@lists.fedorahosted.org