Explorar o código

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

Ask Solem %!s(int64=16) %!d(string=hai) anos
pai
achega
efcbe6bd53
Modificáronse 1 ficheiros con 1 adicións e 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):