소스 검색

Fixes typo '__error_handler' -> '_error_handler'

Ask Solem 14 년 전
부모
커밋
53c0844cc3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      celery/worker/consumer.py

+ 1 - 1
celery/worker/consumer.py

@@ -582,7 +582,7 @@ class Consumer(object):
 
         # Callback called for each retry while the connection
         # can't be established.
-        def __error_handler(exc, interval):
+        def _error_handler(exc, interval):
             self.logger.error("Consumer: Connection Error: %s. " % exc
                             + "Trying again in %d seconds..." % interval)