From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Wed, 3 Feb 2016 16:00:13 +0000 (+0100)
Subject: bugfix for undefined variable 'nowait'  in util.execfuncs.lkill
X-Git-Tag: nepi-6.0.6-pypi~1
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=96066f54fd0d90e5900da1ee8fa603c0f571a928;p=nepi.git

bugfix for undefined variable 'nowait'  in util.execfuncs.lkill
---

diff --git a/nepi/util/execfuncs.py b/nepi/util/execfuncs.py
index 70cec88c..a78ef399 100644
--- a/nepi/util/execfuncs.py
+++ b/nepi/util/execfuncs.py
@@ -214,7 +214,7 @@ def lstatus(pid, ppid):
 
     return ProcStatus.RUNNING if status else ProcStatus.FINISHED
 
-def lkill(pid, ppid, sudo = False):
+def lkill(pid, ppid, sudo = False, nowait = False):
     """
     Kill a process spawned with lspawn.