Explorar el Código

Fixes syntax error

Ask Solem hace 13 años
padre
commit
19dc001aa8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      celery/worker/consumer.py

+ 1 - 1
celery/worker/consumer.py

@@ -441,7 +441,7 @@ class Consumer(object):
                     connection.more_to_read = True
                     while connection.more_to_read:
                         try:
-                            events = poll(poll_timeout):
+                            events = poll(poll_timeout)
                         except ValueError:  # Issue 882
                             return
                         for fileno, event in events or ():