Forráskód Böngészése

oops, didn't mean to leave that there

Jesper Noehr 15 éve
szülő
commit
692f856596
1 módosított fájl, 0 hozzáadás és 2 törlés
  1. 0 2
      celery/worker/listener.py

+ 0 - 2
celery/worker/listener.py

@@ -214,8 +214,6 @@ class CarrotListener(object):
         while 1:
         while 1:
             yield self.connection.connection.drain_events()
             yield self.connection.connection.drain_events()
 
 
-        return self._mainloop(**kwargs)
-
     def _detect_wait_method(self):
     def _detect_wait_method(self):
         if hasattr(self.connection.connection, "drain_events"):
         if hasattr(self.connection.connection, "drain_events"):
             self.broadcast_consumer.register_callback(self.receive_message)
             self.broadcast_consumer.register_callback(self.receive_message)