python3: fix the preview framework to work with both python 2 and 3 (part 3)

trivial fix: xrange -> range
This commit is contained in:
José Matos 2017-05-11 20:56:56 +01:00
parent ff6369d35e
commit 1f5241f747

View File

@ -283,7 +283,7 @@ def find_ps_pages(dvi_file):
# Use page ranges, as a list of pages could exceed command line
# maximum length (especially under Win32)
for index in xrange(1, page_index + 1):
for index in range(1, page_index + 1):
if (not index in ps_or_pdf_pages) and skip:
# We were skipping pages but current page shouldn't be skipped.
# Add this page to -pp, it could stay alone or become the