From: Leandro Lucarella Date: Tue, 13 Nov 2007 19:25:45 +0000 (-0300) Subject: Remove unused ProcessInfo.last_return attribute. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/60b2dd4c3fdb38c4c02f5d182745aec2a020eb69?ds=inline;hp=--cc Remove unused ProcessInfo.last_return attribute. --- 60b2dd4c3fdb38c4c02f5d182745aec2a020eb69 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: