From: Leandro Lucarella Date: Thu, 15 Nov 2007 12:57:34 +0000 (-0300) Subject: Bugfix: use self instead of an unbinded pi object when killing a process. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/7b57b4dfeae73460fc9ded00558996d2adf9e840?ds=inline;hp=--cc Bugfix: use self instead of an unbinded pi object when killing a process. --- 7b57b4dfeae73460fc9ded00558996d2adf9e840 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