소스 검색

Cosmetics

Ask Solem 13 년 전
부모
커밋
5951d46db3
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      celery/execute/trace.py

+ 2 - 4
celery/execute/trace.py

@@ -13,12 +13,10 @@
 from __future__ import absolute_import
 
 # ## ---
-# BE WARNED: You are probably going to suffer a heartattack just
-#            by looking at this code!
-#
 # This is the heart of the worker, the inner loop so to speak.
 # It used to be split up into nice little classes and methods,
-# but in the end it only resulted in bad performance, and horrible tracebacks.
+# but in the end it only resulted in bad performance and horrible tracebacks,
+# so instead we now use one closure per task class.
 
 import os
 import socket