From 55139aca1f264af5d972f2f76165a67388f007fa Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 13 Nov 2007 15:24:17 -0300 Subject: [PATCH] Bugfix: use correct module for simbol ECHILD. --- pymin/procman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymin/procman.py b/pymin/procman.py index b89b7e6..ab6953a 100644 --- a/pymin/procman.py +++ b/pymin/procman.py @@ -95,7 +95,7 @@ class ProcessManager: try: (pid, status) = os.waitpid(-1, os.WNOHANG) except OSError, e: - if e.errno is e.ECHILD: + if e.errno is errno.ECHILD: return raise while pid: -- 2.43.0