]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blobdiff - bin/pfa-signpkg
Fix list and iterators assumptions that are no longer valid in python3
[projects/pld-ftp-admin.git] / bin / pfa-signpkg
index 044ffe36223c4949573718495320aa0c7169522a..0bd8e6e0b5231c0e6a327d4728ab38b582994ebd 100755 (executable)
@@ -102,7 +102,7 @@ def chunk(seq, size, pad=None):
      '''
      n = len(seq)
      mod = n % size
-     for i in xrange(0, n - mod, size):
+     for i in range(0, n - mod, size):
          yield seq[i : i + size]
      if mod:
          yield seq[-mod:]
This page took 0.073022 seconds and 4 git commands to generate.