Procházet zdrojové kódy

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

Ask Solem před 16 roky
rodič
revize
efcbe6bd53
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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):