Explorar el Código

Small typo in last commit

Ask Solem hace 15 años
padre
commit
948cf95bf7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      celery/execute.py

+ 1 - 1
celery/execute.py

@@ -74,7 +74,7 @@ def apply_async(task, args=None, kwargs=None, countdown=None, eta=None,
     routing_key = routing_key or getattr(task, "routing_key", None)
     exchange = exchange or getattr(task, "exchange", None)
     if immediate is None:
-        immediate = immediate or getattr(task, "immediate", None)
+        immediate = getattr(task, "immediate", None)
     if mandatory is None:
         mandatory = getattr(task, "mandatory", None)
     if priority is None: