Ionel Cristian Mărieș преди 11 години
родител
ревизия
b94faedb74
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      celery/concurrency/workhorse.py

+ 1 - 1
celery/concurrency/workhorse.py

@@ -190,7 +190,7 @@ class TaskPool(BasePool):
                     elif os.WIFSTOPPED(exit_code):
                         pending[pid] = os.WSTOPSIG(exit_code)
 
-        for pid, exit_code in pending.iteritems():
+        for pid, exit_code in pending.items():
             self.on_worker_exit(pid, exit_code)
 
     def on_worker_exit(self, pid, exit_code):