Explorar el Código

On some python installations this created a stack overflow, (no idea why)

Ask Solem hace 16 años
padre
commit
efcbe6bd53
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      celery/datastructures.py

+ 1 - 1
celery/datastructures.py

@@ -27,7 +27,7 @@ class PositionQueue(UserList):
     def filled(self):
         """Returns the filled slots as a list."""
         return filter(lambda v: not isinstance(v, self.UnfilledPosition),
-                      self)
+                      self.data)
 
         
 class TaskProcessQueue(UserList):