Explorar el Código

[Redis][async] Fixes typo

Ask Solem hace 9 años
padre
commit
2914411d67
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      celery/backends/async.py

+ 2 - 2
celery/backends/async.py

@@ -127,10 +127,10 @@ class AsyncBackendMixin(object):
                 on_message=on_message, on_interval=on_interval):
             while bucket:
                 node = bucket.popleft()
-                yield result.id, node._cache
+                yield node.id, node._cache
         while bucket:
             node = bucket.popleft()
-            yield result.id, node._cache
+            yield node.id, node._cache
 
     def add_pending_result(self, result):
         if result.id not in self._pending_results: