Browse Source

Fixes typo '__error_handler' -> '_error_handler'

Ask Solem 14 years ago
parent
commit
53c0844cc3
1 changed files with 1 additions and 1 deletions
  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)