From 7b57b4dfeae73460fc9ded00558996d2adf9e840 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 15 Nov 2007 09:57:34 -0300 Subject: [PATCH] Bugfix: use self instead of an unbinded pi object when killing a process. --- pymin/procman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymin/procman.py b/pymin/procman.py index cb00f4f..9242d86 100644 --- a/pymin/procman.py +++ b/pymin/procman.py @@ -45,7 +45,7 @@ class ProcessInfo: self.kill(signal.SIGTERM) def kill(self, signum): assert self.process is not None - os.kill(pi.process.pid, signum) + os.kill(self.process.pid, signum) self.signal = signum def __repr__(self): pid = None -- 2.43.0