소스 검색

Fix comment in celery.pool

Ask Solem 16 년 전
부모
커밋
f3656341f3
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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