Prechádzať zdrojové kódy

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

Ask Solem 16 rokov pred
rodič
commit
efcbe6bd53
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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):