소스 검색

Make sure the logger class is process aware even when running Python >= 2.6

Ask Solem 15 년 전
부모
커밋
6d8461181a
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      celery/patch.py

+ 1 - 3
celery/patch.py

@@ -24,6 +24,4 @@ def _check_logger_class():
 
 
 def monkeypatch():
-    major, minor = sys.version_info[:2]
-    if major == 2 and minor < 6: # python < 2.6
-        _check_logger_class()
+    _check_logger_class()