From: Leandro Lucarella Date: Tue, 13 Nov 2007 18:24:17 +0000 (-0300) Subject: Bugfix: use correct module for simbol ECHILD. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/55139aca1f264af5d972f2f76165a67388f007fa?ds=sidebyside;hp=--cc Bugfix: use correct module for simbol ECHILD. --- 55139aca1f264af5d972f2f76165a67388f007fa 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: