]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/procman.py
Bugfix: use correct module for simbol ECHILD.
[software/pymin.git] / pymin / procman.py
index b89b7e63d6eeac0e5583904e85c30a0acf1c6f71..ab6953a084a885ce9c05c355e553ac997eb63b0c 100644 (file)
@@ -95,7 +95,7 @@ class ProcessManager:
         try:
             (pid, status) = os.waitpid(-1, os.WNOHANG)
         except OSError, e:
         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:
                 return
             raise
         while pid: