Explorar o código

Fix comment in celery.pool

Ask Solem %!s(int64=15) %!d(string=hai) anos
pai
achega
f3656341f3
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      celery/pool.py

+ 3 - 2
celery/pool.py

@@ -68,8 +68,9 @@ def process_is_dead(process):
     
     # Try to see if the process is actually running,
     # and reap zombie proceses while we're at it.
-    # Only do this if os.kill exists. It doesn't on windows.
-    
+
+    # Only do this if os.kill exists for this platform (e.g. Windows doesn't
+    # support it).
     if callable(getattr(os, "kill", None)) and reap_process(process.pid):
         return True