X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/22230ef4bb6dc80d2dca8d5a128f208fff72c181..55139aca1f264af5d972f2f76165a67388f007fa:/pymin/procman.py 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: