X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/7f850a3c2ea48604f46c0b4f35904c4f2b117de1..55139aca1f264af5d972f2f76165a67388f007fa:/pymin/procman.py?ds=sidebyside 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: