Ask Solem hace 11 años
padre
commit
c11950f3ec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      celery/platforms.py

+ 1 - 1
celery/platforms.py

@@ -87,7 +87,7 @@ def ranges(sequence, end):
 
     """
     k, l = iter([-1] + sequence), iter(sequence)
-    for prev, stop in izip_longest(k, l):
+    for prev, stop in zip_longest(k, l):
         prev = min(prev + 1, end)
         if prev != stop:
             if stop > end: