From 60b2dd4c3fdb38c4c02f5d182745aec2a020eb69 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 13 Nov 2007 16:25:45 -0300 Subject: [PATCH] Remove unused ProcessInfo.last_return attribute. --- pymin/procman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymin/procman.py b/pymin/procman.py index ab6953a..cb00f4f 100644 --- a/pymin/procman.py +++ b/pymin/procman.py @@ -26,7 +26,6 @@ class ProcessInfo: self.signal = None self.process = None self.error_count = 0 - self.last_return = None self.running = False def start(self): assert self.process is None @@ -101,6 +100,7 @@ class ProcessManager: while pid: if pid in self.pidmap: p = self.pidmap[pid] + p.process.returncode = status if p.callback is not None: p.callback(self, p) if p.dont_run or not p.persist or p.error_count >= p.max_errors: -- 2.43.0