summaryrefslogtreecommitdiff
path: root/bin/convwatch.py
diff options
context:
space:
mode:
authorLeonard Sasse <l.sasse@fz-juelich.de>2024-03-29 06:19:45 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-06-25 08:14:53 +0200
commit96ffaadbcd3010515b2465f7f87b599909db5913 (patch)
tree2f9b6cd4f5f06969853f6f1a1dc97aa38cee92e8 /bin/convwatch.py
parent70b3e128aef631e18e6451362c2e6315c28b857e (diff)
tdf#158803 F821: xrange undefined, should be range in py3; remove some unused variables
changing range(len()) to enumerate as suggested by Arkadiy Illarionov Change-Id: I5000204281a5f6ded9c411525e612bf84b552f80 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165505 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'bin/convwatch.py')
-rw-r--r--bin/convwatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/convwatch.py b/bin/convwatch.py
index 93082186f319..25920b7343c8 100644
--- a/bin/convwatch.py
+++ b/bin/convwatch.py
@@ -355,7 +355,7 @@ def runLoadPrintFileTests(opts, dirs, suffix, reference):
def mkImages(file, resolution):
argv = [ "gs", "-r" + resolution, "-sOutputFile=" + file + ".%04d.jpeg",
"-dNOPROMPT", "-dNOPAUSE", "-dBATCH", "-sDEVICE=jpeg", file ]
- ret = subprocess.check_call(argv)
+ subprocess.check_call(argv)
def mkAllImages(dirs, suffix, resolution, reference, failed):
if reference: