Bläddra i källkod

Fix comment in celery.pool

Ask Solem 15 år sedan
förälder
incheckning
f3656341f3
1 ändrade filer med 3 tillägg och 2 borttagningar
  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